aboutsummaryrefslogtreecommitdiff
blob: 97d7b0beea455b0db67df8dc0ae16cf7d0f9ded2 (plain)
1
2
3
4
5
6
7
8
9
10
11
ELM_CC = elm-make --warn
SRC_DIR = src

MAIN_MODULE = $(SRC_DIR)/Main.elm
SUB_MODULES = $(shell find $(SRC_DIR) -type f | grep "elm$$")

index.html: $(MAIN_MODULE) $(SUB_MODULES)
	$(ELM_CC) $(MAIN_MODULE)

clean:
	rm -f index.html