[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Octave's Makefile
From: |
John W. Eaton |
Subject: |
Octave's Makefile |
Date: |
Mon, 7 Feb 2000 03:46:35 -0600 (CST) |
On 7-Feb-2000, Dirk Laurie <address@hidden> wrote:
| I use Octave on several machines, so I tried 'make binary-dist'
| after a normal 'make' (which I take as equivalent to 'make all')
| in order to be able to move the result around. I got the impression
| that everything was made from scratch.
|
| Is this impression correct?
|
| Would changing the order be better?
For 2.0.x, the binary-dist target in the top-level Makefile does this:
binary-dist: FORCE
@if test -f configure && test -f octMakefile.in ; then \
./configure --enable-shared --enable-lite-kernel ; \
else \
echo "" ; \
echo "*** You must run make binary-dist in the source directory." ; \
echo "" ; \
exit 1 ; \
fi
$(MAKE) -f octMakefile CFLAGS=-O CXXFLAGS=-O all
$(MAKE) -f octMakefile binary-dist
So if you didn't configure with --enable-shared the first time around,
it may compile a lot of stuff again, using the PIC flags.
jwe
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------