JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
implement down arrow to move cursor
[peach-html5-editor.git] / Makefile
index 2e57917..3c4cdd2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,12 @@
-all: parse-html.js test.js
+OBJECTS= parser.js parser_tests.js parser_no_browser_helper.js editor.js editor_tests.js page_dark.css
+
+all: $(OBJECTS)
 
 %.js: %.coffee
-       coffee -c $<
+       coffee -c $< && sed -i -e 's/\(parser\|parser_no_browser_helper\)[.]coffee/\1.js/g' $@
+
+%.css: %.styl
+       stylus $<
+
+clean:
+       rm -f $(OBJECTS)