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