Xref: news2.mv.net comp.os.msdos.djgpp:2764 From: Broeker AT axp03 DOT physik DOT rwth-aachen DOT de (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp Subject: Re: backslashes for DOS pathnames within a makefile? Date: 15 Apr 96 12:33:42 GMT Organization: RWTH -Aachen / Rechnerbetrieb Informatik Lines: 16 Message-ID: References: <4ksfnm$kho AT news DOT eng DOT octel DOT com> NNTP-Posting-Host: axp03.physik.rwth-aachen.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp john AT octel DOT com (John Cook) writes: >I just installed DJGPP 2.0 and am trying to use the GNU make utility. >make appears to use the Unix convention of using the forward slash >character for separating parts of a pathname. Is there a way I can >have make follow the DOS convention of using the backslash character >instead? Of course, there is such a way: just use them to your heart's content, but mind the pitfall: you *have* to write \\ for every \ you use, as GNU make uses \ as an escape character in command lines, much like Unix shells do. (This is also in the FAQ, I think...) Hans-Bernhard Broeker (Aachen, Germany)