Makefile 330 B

1234567891011121314151617
  1. ALL := style.css scripts.js
  2. .PHONY: all
  3. all: $(ALL)
  4. %.css: %.sass
  5. sass --no-cache $< | yui-compressor --type css --output $@
  6. %.js: %.coffee
  7. coffee --compile --output $(@D) $<
  8. scripts.js: json2.js monitor.js
  9. cat $^ | yui-compressor --type js --output $@
  10. clean:
  11. rm -f $(ALL) $(patsubst %.coffee,%.js,$(wildcard *.coffee))