-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
72 lines (47 loc) · 1.51 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
OBJFILES = util.o debug.o bigint-scalar.o class-control.o input.o \
braid-util.o gauss-to-peer.o generic-code-io.o generic-code-util.o gauss-orientation.o reidemeister.o \
main.o bracket.o braid.o braidfns.o generic-code.o hamiltonian.o vogel.o vogelfns.o
DEPS = ./include/*
COMPILE = g++ -Wall -Wno-misleading-indentation -std=c++11 -I ./include -g -c $< -o $@
all: $(OBJFILES)
g++ -o braid $(OBJFILES)
util.o: ./src/util.cpp $(DEPS)
$(COMPILE)
debug.o: ./src/debug.cpp $(DEPS)
$(COMPILE)
bigint-scalar.o: ./src/bigint-scalar.cpp $(DEPS)
$(COMPILE)
class-control.o: ./src/class-control.cpp $(DEPS)
$(COMPILE)
input.o: ./src/input.cpp $(DEPS)
$(COMPILE)
braid-util.o: ./src/braid-util.cpp $(DEPS)
$(COMPILE)
gauss-to-peer.o: ./src/gauss-to-peer.cpp $(DEPS)
$(COMPILE)
generic-code-io.o: ./src/generic-code-io.cpp $(DEPS)
$(COMPILE)
generic-code-util.o: ./src/generic-code-util.cpp $(DEPS)
$(COMPILE)
gauss-orientation.o: ./src/gauss-orientation.cpp $(DEPS)
$(COMPILE)
hamiltonian.o: ./src/hamiltonian.cpp $(DEPS)
$(COMPILE)
reidemeister.o: ./src/reidemeister.cpp $(DEPS)
$(COMPILE)
main.o: ./src/main.cpp $(DEPS)
$(COMPILE)
braid.o: ./src/braid.cpp $(DEPS)
$(COMPILE)
braidfns.o: ./src/braidfns.cpp $(DEPS)
$(COMPILE)
generic-code.o: ./src/generic-code.cpp $(DEPS)
$(COMPILE)
bracket.o: ./src/bracket.cpp $(DEPS)
$(COMPILE)
vogel.o: ./src/vogel.cpp $(DEPS)
$(COMPILE)
vogelfns.o: ./src/vogelfns.cpp $(DEPS)
$(COMPILE)
clean:
rm -f $(OBJFILES)