Mail Archives: djgpp/1997/03/07/18:27:07
Hey there,
I am using a DOS-based C/C++ compiler based on the gnu compiler. My
problem is that I would like to redirect the output of each compile in
my makefile to a file. For some reason, the command (when executed by
my make utility) refuses to redirect the output. The few lines below
represent the contents of my makefile. One note is that the make
utility seems to parse my command and thinks that the redirection and
filename (i.e., ">output.txt") is some filename pertaining to the
compile. If you have ANY suggestions (perhaps you know of a flag that
will allow for redirection within a makefile), I would very much
appreciate them!
Thanks.
The follow are my Makefile contents...
all:
cc -Wall -O3 foo.c >output.txt
parser ou
- Eddie
- Raw text -