JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
experimental pickling to url hash
[crayon_mockup.git] / Makefile
index 0ae83b6..74ddf85 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-objects= main.js css.css
+objects= js.js css.css
 
 all: $(objects)
 
@@ -6,7 +6,7 @@ clean:
        rm -f $(objects)
 
 css.css: style.styl
-       stylus -c -p $< > $@
+       stylus -c -p $< > $@ || (rm -f $@; false)
 
-%.js: %.coffee
-       coffee -c $<
+js.js: main.coffee
+       coffee -c -p $< > $@ || (rm -f $@; false)