From: Philip Boucherat Newsgroups: comp.os.msdos.djgpp Subject: Tips to avoid grief with GNU make Date: Thu, 8 Mar 2001 18:28:29 +0000 Organization: Technology Concepts Ltd Message-ID: NNTP-Posting-Host: teccon.demon.co.uk X-NNTP-Posting-Host: teccon.demon.co.uk:158.152.133.41 X-Trace: news.demon.co.uk 984076169 nnrp-02:2477 NO-IDENT teccon.demon.co.uk:158.152.133.41 X-Complaints-To: abuse AT demon DOT net MIME-Version: 1.0 X-Newsreader: Turnpike Integrated Version 4.02 M Lines: 31 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, Some experiences are best avoided such as finding out the hard way these guidelines on using make : 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. Who knows? Cheers, Phil -- Philip Boucherat