forked from aosabook/500lines
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (21 loc) · 934 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (21 loc) · 934 Bytes
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
all: handaxeweb.lua build_handaxeweb index.py skiplist.svg skipfiles.svg
# The dependencies of these two targets are a little bit bogus,
# because actually handaxeweb.lua has a circular dependency on itself
# and is also mutually dependent with build_handaxeweb, which also has
# a circular dependency on itself. But really they are both rebuilt
# (bootstrapped using themselves!) from handaxeweb.md. Just don't
# delete them as if they were normal derived objects, and occasionally
# touch handaxeweb.md and do a second rebuild if you're taking
# advantage of new handaxeweb features in build_handaxeweb, and you'll
# be fine.
handaxeweb.lua: handaxeweb.md
./build_handaxeweb
build_handaxeweb: handaxeweb.md
./$@
.PRECIOUS: handaxeweb.lua build_handaxeweb
index.py: README.md handaxeweb.lua
./handaxeweb.lua $@ < $< > $@
skiplist.svg: skipdiagram.py
./$< skiplist > $@
skipfiles.svg: skipdiagram.py
./$< skipfiles > $@