summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-03-20 18:04:39 +0100 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-03-20 18:04:39 +0100 |
commit | 7a49310e8d1909201d790e61297caeed0145b0c3 (patch) | |
tree | 5e9c2a5d5dd0f8d1e43d16c62b16c6b4fbcf6a79 /src/altar/Makefile | |
parent | ce67d4a66521cd5b3e573ef71ea23d4c60e06d49 (diff) |
Starting to work on the Altar page.altar
Diffstat (limited to 'src/altar/Makefile')
-rw-r--r-- | src/altar/Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/altar/Makefile b/src/altar/Makefile new file mode 100644 index 0000000..d5372f1 --- /dev/null +++ b/src/altar/Makefile @@ -0,0 +1,19 @@ +ELM_CC = elm-make --warn + +SRC_DIR = src +WWW_DIR = www +WWW_SCRIPT_DIR = $(WWW_DIR)/script + +MAIN_MODULE = $(SRC_DIR)/Main.elm +SUB_MODULES = $(shell find $(SRC_DIR) -type f | grep "elm$$") + +$(WWW_SCRIPT_DIR)/main.js: $(MAIN_MODULE) $(SUB_MODULES) + $(ELM_CC) $(MAIN_MODULE) --output $@ + +build: $(WWW_SCRIPT_DIR)/main.js + +clean: + rm -f $(WWW_SCRIPT_DIR)/main.js + +reset: + rm -rf elm-stuff |