elm-exercise/Makefile
2016-04-15 09:26:16 -04:00

20 lines
292 B
Makefile

.PHONY: all clean dev
APP = App.elm
APP_JS = app.js
ELM_FILES = $(shell find . -type f -name '*.elm')
all: $(APP_JS)
$(APP_JS): $(ELM_FILES)
elm-make --yes $(APP) --output $@
clean-deps:
rm -rf elm-stuff
clean:
rm -f $(APP_JS)
rm -rf elm-stuff/build-artifacts
dev: all
elm-reactor