-
Notifications
You must be signed in to change notification settings - Fork 10
/
Makefile
41 lines (28 loc) · 1.31 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
TARGET = CR3
SRCS = cubicalripser_3dim.cpp dense_cubical_grids.cpp coeff.cpp vertices.cpp birthday_index.cpp columns_to_reduce.cpp simplex_coboundary_enumerator.cpp write_pairs.cpp union_find.cpp joint_pairs.cpp compute_pairs.cpp
OBJS = cubicalripser_3dim.o dense_cubical_grids.o coeff.o vertices.o birthday_index.o columns_to_reduce.o simplex_coboundary_enumerator.o write_pairs.o union_find.o joint_pairs.o compute_pairs.o
all: $(TARGET)
$(TARGET): $(OBJS) $(SRCS)
c++ -std=c++11 -o $@ $(OBJS)
cubicalripser_3dim.o: cubicalripser_3dim.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
dense_cubical_grids.o: dense_cubical_grids.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
coeff.o: coeff.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
vertices.o: vertices.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
birthday_index.o: birthday_index.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
columns_to_reduce.o: columns_to_reduce.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
simplex_coboundary_enumerator.o: simplex_coboundary_enumerator.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
write_pairs.o: write_pairs.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
union_find.o: union_find.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
joint_pairs.o: joint_pairs.cpp
c++ -std=c++11 -c -o $@ $< -Ofast
compute_pairs.o: compute_pairs.cpp
c++ -std=c++11 -c -o $@ $< -Ofast