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