X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=Makefile;h=5ae1b2b56acf03b71664ac9132dc30840e889881;hb=55d296a75a0471af76f0dc05494e9eb98567d314;hp=24c826c84f497ff5abebd95da6e68ac6d20ac2af;hpb=cc2911623e5e9a50e19ae8233a990c2e633c218e;p=peach-html5-editor.git diff --git a/Makefile b/Makefile index 24c826c..5ae1b2b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,8 @@ -all: parse-html.js +OBJECTS= parse-html.js test.js html5-named-entities.js +all: $(OBJECTS) -parse-html.js: parse-html.coffee - coffee -c $< +%.js: %.coffee + coffee -c $< && sed -i -e 's/\(parse-html\|html5-named-entities\)[.]coffee/\1.js/g' $@ + +clean: + rm -f $(OBJECTS)