mirror of
https://github.com/correl/elm-exercise.git
synced 2024-11-27 11:09:53 +00:00
21 lines
292 B
Makefile
21 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
|