Skip to content

Instantly share code, notes, and snippets.

@ameerkat
Created June 10, 2011 08:06
Show Gist options
  • Save ameerkat/1018434 to your computer and use it in GitHub Desktop.
Save ameerkat/1018434 to your computer and use it in GitHub Desktop.
sample makefile using hc.py
CC = python
SCRIPT = utilities/hc.py
all: about.html index.html
about.html: src/template.html src/about.html
$(CC) $(SCRIPT) about.html ./src/template.html ./src/about.html
index.html: src/template.html src/index.html
$(CC) $(SCRIPT) index.html ./src/template.html ./src/index.html
clean:
rm -f *~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment