Date: Tue, 7 Jan 1997 16:00:27 +0200 (IST) From: Eli Zaretskii To: Tavazzani Paolo cc: DJGPP Mailing List Subject: Re: Recursive make In-Reply-To: <9701071052.AA21728@ic86i10.settimo.italtel.it> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 7 Jan 1997, Tavazzani Paolo wrote: > Whenever I try to execute make in a subdirectory, es: > > target : dir1 > cd dir1 ; make all > > make fails saying that he is unable to open temporary file w:/xxx/yyy/dj000000 Is it Make 3.75? If not, get and install v2gnu/mak375b.zip from SimTel, since earlier ports of Make don't support multiple commands separated by `;'. Alternatively, change the above rule to this: target: dir1 cd dir1 make all or this: target: dir1 make -C dir1 all which will also work with DJGPP ports of GNU Make before 3.75. > The same happened when compliling GNU Shell Utils when the makefile tries > to generate some .c files by making a sed and redirecting output using '>'. > I was able to bypass the problem using the redir command. If that was the Sh-utils 1.12 ported to DJGPP, then the file README.dos in the distribution clearly says that you need Make 3.75 to build it. If you already have Make 3.75, please post the exact error message printed when you try to build the distribution. > I usually work with DOS 5.0 and DJGPP V2 (it should be a fairly recent update) > and COMMAND.COM as a shell. Is that DJGPP v2.0 or v2.01? Please make sure that you use v2.01 and Make 3.75, or else the latest GNU utilities won't build correctly. Btw, if you only need the sh-utils themselves, you can get the pre-compiled binaries (v2gnu/shl112b.zip) from SimTel.