Date: Sat, 10 Mar 2001 19:51:33 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Philip Boucherat Message-Id: <4634-Sat10Mar2001195133+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: (message from Philip Boucherat on Thu, 8 Mar 2001 18:28:29 +0000) Subject: Re: Tips to avoid grief with GNU make References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Philip Boucherat > Newsgroups: comp.os.msdos.djgpp > Date: Thu, 8 Mar 2001 18:28:29 +0000 > > Don't leave whitespace or put comments at end of assignments, for > example this will cause problems such as not being able to find a source > file : > > APPSRCDIR = ./src # App specific source files > > Do this instead : > > # App specific source files > APPSRCDIR = ./src > > Make sure source filename letter case (as displayed by ls) matches the > case as defined in here, otherwise you'll spend hours wondering why make > keeps coming up with errors like this : > > sh-2.04$ make ./obj/epsample.o > make.exe: *** No rule to make target './obj/epsample.o'. Stop. > sh-2.04$ > > Maybe these things are specific to the DJGPP version. They aren't. This is how GNU Make behaves on all platforms.