Date: Fri, 5 Apr 1996 10:35:20 +0200 (IST) From: Eli Zaretskii To: Kenneth Targosky Cc: djgpp AT delorie DOT com Subject: Re: GNU MAKE NOT WORKING WITH GCC In-Reply-To: <31626758.41EE@nando.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 3 Apr 1996, Kenneth Targosky wrote: > I just installed djgpp V.2, gnu for dos. I also loaded the other gnu > tools including make. When I enter the command gcc -I..\h -c calls.c > the complilation works fine. When the same command is entered > via a makefile it does not work. Make echos the identical command as > the one entered on the command line but complains, gcc may be doing > the complaining, that the include files can not be found. Use forward slashes, like this: gcc -I../h -c calls.c or, if you must use backslashes, escape-protect a backslash with another one: gcc -I..\\h -c calls.c A backslash is used by GNU Make as an escape character to protect special characters, so what it passes to gcc in your case is this command line: gcc -I..h -c calls.c which is not what you want.