-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (39 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
OPTIONS = -g4
#-pg -p2
eventlogic: dfa.o utils.o nfa.o snapshots.o regex.o graph.o allen-nfa.o eventlogic.scm
bigloo $(OPTIONS) -o $@ $^
allen-nfa: dfa.o utils.o nfa.o snapshots.o regex.o graph.o allen-nfa.scm
bigloo $(OPTIONS) dfa.o utils.o nfa.o snapshots.o regex.o graph.o allen-nfa.scm -o allen-nfa
# nfa: dfa.o utils.o nfa.scm
# bigloo $(OPTIONS) nfa.scm dfa.o utils.o -o nfa
dfa: graph.o utils.o nfa.o regex.o dfa.scm
bigloo $(OPTIONS) dfa.scm graph.o utils.o nfa.o regex.o -o dfa
# graph: dfa.o utils.o nfa.o graph.scm
# bigloo $(OPTIONS) graph.scm utils.o dfa.o nfa.o -o graph
# regex: regex.scm dfa.o nfa.o utils.o
# bigloo $(OPTIONS) regex.scm dfa.o nfa.o utils.o -o regex
snapshots: dfa.o utils.o nfa.o regex.o graph.o snapshots.scm
bigloo $(OPTIONS) snapshots.scm dfa.o nfa.o utils.o regex.o graph.o -o snapshots
nfa.o: nfa.scm
bigloo $(OPTIONS) -c $^
dfa.o: dfa.scm
bigloo $(OPTIONS) -c $^
utils.o: utils.scm
bigloo $(OPTIONS) -c $^
snapshots.o: snapshots.scm
bigloo $(OPTIONS) -c $^
graph.o: graph.scm
bigloo $(OPTIONS) -c $^
regex.o: regex.scm
bigloo $(OPTIONS) -c $^
allen-nfa.o: allen-nfa.scm
bigloo $(OPTIONS) -c $^
eventlogic.o: eventlogic.scm
bigloo $(OPTIONS) -c $^
test: test.scm
bigloo $(OPTIONS) $^ -o $@
clean:
rm -f *.o
make:
touch *.scm
touch *.sch