[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: redirection
From: |
Paul D. Smith |
Subject: |
Re: redirection |
Date: |
Mon, 11 Nov 2002 13:49:44 -0500 |
> $(FILES):
> @$(PYTHON) $@ 2>> err
>
> But it seems the file is appended to the old file. How
> to get a fresh new file for each make? Thanks.
Add something like this to your makefile:
$(shell rm -f err)
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.paulandlesley.org
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- redirection, Y. Liu, 2002/11/11
- Re: redirection,
Paul D. Smith <=