Mail Archives: djgpp/1996/04/19/23:10:52
Eric NICOLAS (nicolas AT dsys DOT ceng DOT cea DOT fr) wrote:
: Hi,
: I have a little problem with gnu-make (the one with djgpp v2).
: At my job, I used to work on unix workstations with not-gnu compiler
: (in fact sun compiler/linker). I have always used recursive makefile
: which looked like that :
: -----
: .SILENT:
: default all verif clean depend install:
: (cd FirstSubDir; make $@)
: (cd SecondSubDir; make $@)
: ...
: ------
: But this doesn't work under gun-make. I looked in the info
: page and that syntax seems to be fine !
The doesn't work, because under unix, the command line (cd something;make)
is processed by the unix shell (usually sh or bash) and the command.com of
DOS doesn't support such a syntax. You can do recursive makes with the
-C option, e.g. make -C FirstSubDir $@.
bye, Alexander
--
Alexander Lehmann, | "On the Internet,
alex AT hal DOT rhein-main DOT de (plain, MIME, NeXT) | nobody knows
alexlehm AT rbg DOT informatik DOT th-darmstadt DOT de (plain) | you're a dog."
<URL:http://www.student.informatik.th-darmstadt.de/~alexlehm/>
- Raw text -