summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-08-08 11:54:16 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2018-08-08 11:54:16 +0200 |
commit | 0e15e48cf698c6d146ec3a93f844f03509111c6a (patch) | |
tree | 4c2abb69f01d876afc21663e3b6277c412dc9dcd /src/login/Makefile | |
parent | 9d0475892354be33fa250b33ff0fc858aedb957a (diff) |
Starting to work on the sign-{in,out,up} page.
Diffstat (limited to 'src/login/Makefile')
-rw-r--r-- | src/login/Makefile | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/login/Makefile b/src/login/Makefile new file mode 100644 index 0000000..3b58a08 --- /dev/null +++ b/src/login/Makefile @@ -0,0 +1,36 @@ +################################################################################ +## CONFIG ###################################################################### +################################################################################ +SRC_DIR ?= src +WWW_DIR ?= www +WWW_SCRIPT_DIR ?= $(WWW_DIR)/script + +ELM_CC ?= elm-make --warn + +MAIN_MODULE ?= $(SRC_DIR)/Main.elm + +################################################################################ +## MAKEFILE MAGIC ############################################################## +################################################################################ +SUB_MODULES = $(shell find $(SRC_DIR) -type f | grep "elm$$") + +################################################################################ +## SANITY CHECKS ############################################################### +################################################################################ + +################################################################################ +## TARGET RULES ################################################################ +################################################################################ +build: $(WWW_SCRIPT_DIR)/main.js + +clean: + rm -f $(WWW_SCRIPT_DIR)/main.js + +reset: + rm -rf elm-stuff + +################################################################################ +## INTERNAL RULES ############################################################## +################################################################################ +$(WWW_SCRIPT_DIR)/main.js: $(MAIN_MODULE) $(SUB_MODULES) + $(ELM_CC) $(MAIN_MODULE) --output $@ |