delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/01/14/04:28:24

Date: Sun, 14 Jan 1996 11:21:47 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dave Montgomery <dmont AT tradeit DOT com>
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019