JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update .gitignore
[peach-html5-editor.git] / Makefile
index 2e57917..5ae1b2b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
-all: parse-html.js test.js
+OBJECTS= parse-html.js test.js html5-named-entities.js
+all: $(OBJECTS)
 
 %.js: %.coffee
-       coffee -c $<
+       coffee -c $< && sed -i -e 's/\(parse-html\|html5-named-entities\)[.]coffee/\1.js/g' $@
+
+clean:
+       rm -f $(OBJECTS)