X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/b6054ddecbc4d4a9b8e822ff8f0ace386e5e6e00..dbbf69f4561c352fe825f6c7b0a81912aab987c9:/templates/Makefile?ds=sidebyside diff --git a/templates/Makefile b/templates/Makefile index 72f3626..aa083e2 100644 --- a/templates/Makefile +++ b/templates/Makefile @@ -1,10 +1,13 @@ -TEMPLATES=functions.tmpl skeleton.tmpl +TEMPLATES=$(wildcard *.tmpl) OUTPUTS=$(TEMPLATES:.tmpl=.py) all: ${OUTPUTS} -${OUTPUTS}:${TEMPLATES} - cheetah compile $^ +%.py: %.tmpl + cheetah compile $< + +#${OUTPUTS}:${TEMPLATES} +# cheetah compile $^ clean: @rm -f ${OUTPUTS} *.pyo *.pyc *.py.bak