Mail Archives: djgpp/1996/01/14/04:28:24
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 -