Date: Sun, 14 Jan 1996 11:21:47 +0200 (IST) From: Eli Zaretskii To: Dave Montgomery Cc: djgpp AT delorie DOT com Subject: Re: makefile (how they vex me) On Thu, 11 Jan 1996, Dave Montgomery wrote: > # first problem I can't redirect to DEP/$@ since / is not the correct > # character in DOS. I can change all of the slashes above to double > # backslashs \\ which works (but generates REALLY ugly names, just try it) There are 2 ways of dealing with this problem that I know of: 1) Use the `redir' program which comes with DJGPP v2.0. It can redirect output, so you don't have to use command.com (which only understands backslashes). 2) Use the GNU Make's subst/patsubst functions to convert forward slashes to backward ones, when you write the commands which need redirection.