[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
mkoctfile suggestion
From: |
John W. Eaton |
Subject: |
mkoctfile suggestion |
Date: |
Fri, 3 Nov 2000 23:27:53 -0600 |
On 3-Nov-2000, Andy Adler <address@hidden> wrote:
| I suggest that the -c option be added to mkoctfile.
| This would have the same effect as with gcc, ie
| to compile to object but not link:
|
| So, for example, you could do
| An:~/octave/sparse> mkoctfile -c make_sparse.cc -ISuperLU/SRC/
| An:~/octave/sparse> mkoctfile make_sparse.o -lsuperlu -L.
|
| This would allow it to be nicely used in Makefiles,
| so that large projects with multiple source
| files don't need to be recompiled from scratch
| each time.
I made these changes. BTW, the ultimate source file for this script
is mkoctfile.in, so that's where the changes really belong.
Thanks,
jwe