SOURCES := $(shell find src -type f) WWW := $(shell find www -type f) .PHONY: all clean all: www/elm.js www/elm.js: $(SOURCES) @ELM@ make src/Main.elm --output=www/elm.js install: www/elm.js @public_dir@ @public_dir@: $(WWW) @mkdir -p @public_dir@ @cp -r ./www/ @public_dir@ uninstall: rm -rf @public_dir@ clean: rm -f www/elm.js