1 2 3 4 5 6 7 8 9 10
# generate tests from test generator python programs S = $(wildcard *.py) T = $(patsubst %.py,%.test,$(S)) default: $(T) %.test: %.py python $< >$@