[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
redirection
From: |
Y. Liu |
Subject: |
redirection |
Date: |
Mon, 11 Nov 2002 10:31:08 -0800 (PST) |
PYTHON:=/path/to/python
FILES:=$(wildcard *.py)
.PHONY: $(FILES)
run: $(FILES) ;
$(FILES):
@$(PYTHON) $@
Thanks, gk.
I want to redirect the output to a file like:
PYTHON:=/path/to/python
FILES:=$(wildcard *.py)
.PHONY: $(FILES)
run: $(FILES) ;
$(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.
yl
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2