-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (42 loc) · 1.27 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
TARGETS = \
./index.html \
./ann/ann_notes.pdf \
./calcle/index.html \
./chimp-mem-game/index.html \
./flashcards/index.html \
./js-80/index.html \
./kanji-practice/index.html
BUILD_SINGLE_HTML = python3 single_html.py $< $@ $(words $^)
.PHONY: all
all: $(TARGETS)
.PHONY: clean
clean:
rm -vf $(TARGETS)
./index.html: toys.html toys.css
$(BUILD_SINGLE_HTML)
./ann/ann_notes.pdf: ./ann/ann_notes.tex
$(MAKE) -C ./ann
./calcle/index.html: \
./calcle/src/calcle.html ./calcle/src/calcle.css ./calcle/src/calcle.js
$(BUILD_SINGLE_HTML)
./chimp-mem-game/index.html: \
./chimp-mem-game/src/chimp-mem-game.html \
./chimp-mem-game/src/chimp-mem-game.css \
./chimp-mem-game/src/chimp-mem-game.js
$(BUILD_SINGLE_HTML)
./flashcards/index.html: \
./flashcards/src/flashcards.html \
./flashcards/src/flashcards.css \
./flashcards/src/flashcards.js
$(BUILD_SINGLE_HTML)
./js-80/index.html: \
./js-80/src/js-80.html ./js-80/src/js-80.css ./js-80/src/js-80.js
$(BUILD_SINGLE_HTML)
./kanji-practice/index.html: \
./kanji-practice/src/kanji-practice.html \
./kanji-practice/src/builtins.js \
./kanji-practice/src/kanjidic.js \
./kanji-practice/src/kanji-practice.css \
./kanji-practice/src/kanji-practice.js \
./kanji-practice/src/kanjivg.js
$(BUILD_SINGLE_HTML)