www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/07/18:27:07

Message-Id: <3320A1EC.1551@3DO.com>
Date: Fri, 07 Mar 1997 15:17:00 -0800
From: Eddie Ruvinsky <Eddie DOT Ruvinsky AT 3do DOT com>
Reply-To: Eddie DOT Ruvinsky AT 3do DOT com
Organization: Cyclone Studios
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Subject: GNU Make Question

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 -


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