-all: parse-html.js
+OBJECTS= parser.js parser_tests.js parser_no_browser_helper.js editor.js editor_tests.js page_dark.css
-parse-html.js: parse-html.coffee
- coffee -c $<
+all: $(OBJECTS)
+
+%.js: %.coffee
+ coffee -c $< && sed -i -e 's/\(parser\|parser_no_browser_helper\)[.]coffee/\1.js/g' $@
+
+%.css: %.styl
+ stylus $<
+
+clean:
+ rm -f $(OBJECTS)