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 _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make