|
From: | gk |
Subject: | Re: (no subject) |
Date: | Wed, 06 Nov 2002 11:29:55 -0800 |
At 05:02 PM 11/5/2002 -0800, you wrote:
Hello everyone, I am new here. I have a question about makefile. I have a bunch of .py files in a directory. I want to write a make file just to run each of them one at a time. So what I want to do is something like: for each .py file in the current directory, python something.py How to write a makefile for it? Thanks
PYTHON:=/path/to/python FILES:=$(wildcard *.py) .PHONY: $(FILES) run: $(FILES) ; $(FILES): @$(PYTHON) $@
[Prev in Thread] | Current Thread | [Next in Thread] |