Permissions: -rw-r--r--
coffeefiles := $(wildcard coffee/*.coffee)jsfiles := $(coffeefiles:coffee/%.coffee=js/%.js)mapfiles := $(jsfiles:.js=.js.map)npm := npm update && sed -i -e 's@^\#!/usr/bin/env node$$@&js@' ./node_modules/coffee-script/bin/coffee.PHONY: allall: build.PHONY: develdevel: $(npm)node_modules/.bin/coffee: $(npm)js/%.js js/%.js.map: coffee/%.coffee node_modules/.bin/coffee ./node_modules/.bin/coffee -o ./js/ -cm $<.PHONY: buildbuild: $(jsfiles) $(mapfiles)