aboutsummaryrefslogtreecommitdiff
blob: 54b52d820e3fbcbadd82f527ab82b6cda8ab693d (plain)
1
2
3
4
5
6
7
8
9
10
11
ELM_CC = elm-make
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