Xref: news2.mv.net comp.os.msdos.djgpp:2874 From: alexlehm AT rbg DOT informatik DOT th-darmstadt DOT de (Alexander Lehmann) Newsgroups: comp.os.msdos.djgpp Subject: Re: [Q:] Recursive make ?? Date: 19 Apr 1996 11:43:05 GMT Organization: Technische Hochschule Darmstadt Lines: 34 Message-ID: <4l7u89$frl@rs18.hrz.th-darmstadt.de> References: <4l7cco$ina AT news DOT cea DOT fr> NNTP-Posting-Host: hp62.rbg.informatik.th-darmstadt.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp 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."