elm-exercise/Makefile

21 lines
292 B
Makefile
Raw Permalink Normal View History

2016-04-15 04:38:38 +00:00
.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