Date: Wed, 10 Dec 1997 17:17:21 -0800 (PST) Message-Id: <199712110117.RAA12490@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: tessman AT cibc DOT ca, djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: 'make' problem Precedence: bulk At 09:12 12/10/1997 -0600, tessman AT cibc DOT ca wrote: >I'm having fresh trouble running make on a new machine where I've set up >djgpp. (It has worked on this project for the past year or so, so I >must've done something wrong somewhere, I suspect.) > >Basically, I have sources in two directories, the parent of the makefile >and 'c:\hc', which contains portable code that can be used with any ANSI >compiler. The C sources are hc.c and hcdjgpp.c. > >My makefile looks like this: > >TARGET=hc.exe >SOURCE_DIR=c:\hc >COMPILE=c:\gcc\bin\gcc >LINK=c:\gcc\bin\gcc >CFLAGS=-Ic:\gcc\include -I$(SOURCE_DIR) -c I suspect the problem is with the backslashes. GNU Make can interpret backslashes specially (it uses them to escape special characters and strips them otherwise). Try replacing them with double backslashes ("\\") or front slashes and see if that works. This is just a guess, but I've seen similar problems before. Btw, your DJGPP *is* installed under the `c:\gcc" directory, right? Just checking. Alternatively, try removing the paths (COMPILE=gcc, etc) and remove the -Ic:\gcc\include, since GCC looks there anyway. I hope this helps. Nate Eldredge eldredge AT ap DOT net