Date: Tue, 8 Dec 1998 12:06:19 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Rick Gungadoo cc: djgpp AT delorie DOT com Subject: Re: Help on VPATH In-Reply-To: <040e01be2208$99ebc200$c7ec7bc1@nctserver.nct-active.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Mon, 7 Dec 1998, Rick Gungadoo wrote: > gcc -c -Wall -g -pg -a ../src/file1.c -o file1.o > make.exe: *** No rule to make target 'file2.c', needed by 'file2.o'. Stop I cannot reproduce this problem. I used your exact setup, including the directory structure and the Makefile (except that file?.c and header?.h were empty), and it worked as expected: Make compiled and linked all of the files into prog.exe. This was on Windows 95, like in your case. Maybe you are using an old and buggy Make. The latest ported version is 3.77 (get v2gnu/mak377b.zip from the usual DJGPP sites). Btw, your Makefile didn't use TAB characters in the commands, so it won't even run before I added the TABS. Are you sure you were using the exact Makefile you posted, and that you were using the DJGPP port of Make?