Debian Codegraph @

tests/Makefile

raw
1 SRCS=test_main.cpp test_rand.cpp test_set.cpp test_map.cpp test_unordered_set.cpp test_str_set.cpp test_unordered_str_set.cpp test_unordered_map.cpp test_unordered_map_str.cpp test_str.cpp test_algorithms.cpp
2
3 TARGET=test_main
4 CXXFLAGS=-O3 -Wall -std=c++14 -march=native -Wextra -W -Werror -Wshadow -fPIC
5 CPPFLAGS=-I../include
6
7 all:$(TARGET)
8
9 $(TARGET):$(patsubst %.cpp, %.o , $(SRCS))
10 $(CXX) $^ -o $@
11
12 clean:
13 $(RM) *.o $(TARGET)
14
15 .PHONY:check
16
17 check:$(TARGET)
18 ./$(TARGET)
19
20 test_main.o: test_main.cpp catch.hpp
21 test_rand.o: test_rand.cpp \
22 ../include/frozen/random.h \
23 ../include/frozen/bits/algorithms.h \
24 catch.hpp
25 test_algorithms.o: test_algorithms.cpp \
26 ../include/frozen/bits/algorithms.h \
27 catch.hpp
28 test_map.o: test_map.cpp ../include/frozen/map.h \
29 ../include/frozen/bits/algorithms.h catch.hpp
30 test_set.o: test_set.cpp ../include/frozen/set.h \
31 ../include/frozen/bits/algorithms.h catch.hpp
32 test_unordered_map.o: test_unordered_map.cpp \
33 ../include/frozen/unordered_map.h ../include/frozen/bits/elsa.h \
34 ../include/frozen/bits/pmh.h \
35 ../include/frozen/bits/algorithms.h \
36 ../include/frozen/bits/basic_types.h \
37 catch.hpp
38 test_unordered_map_str.o: test_unordered_map_str.cpp \
39 ../include/frozen/unordered_map.h ../include/frozen/bits/elsa.h \
40 ../include/frozen/bits/pmh.h \
41 ../include/frozen/bits/algorithms.h \
42 ../include/frozen/bits/basic_types.h ../include/frozen/string.h \
43 catch.hpp
44 test_unordered_set.o: test_unordered_set.cpp \
45 ../include/frozen/unordered_set.h ../include/frozen/bits/pmh.h \
46 ../include/frozen/bits/algorithms.h \
47 ../include/frozen/bits/basic_types.h ../include/frozen/bits/elsa.h \
48 catch.hpp
49 test_unordered_str_set.o: test_unordered_str_set.cpp \
50 ../include/frozen/unordered_set.h ../include/frozen/bits/pmh.h \
51 ../include/frozen/bits/algorithms.h \
52 ../include/frozen/bits/basic_types.h ../include/frozen/bits/elsa.h \
53 ../include/frozen/string.h \
54 catch.hpp
55 test_str_set.o: test_str_set.cpp \
56 ../include/frozen/set.h \
57 ../include/frozen/bits/algorithms.h \
58 ../include/frozen/bits/basic_types.h ../include/frozen/bits/elsa.h \
59 ../include/frozen/string.h \
60 catch.hpp
61 test_str.o: test_str.cpp \
62 ../include/frozen/bits/basic_types.h ../include/frozen/bits/elsa.h \
63 ../include/frozen/string.h ../include/frozen/algorithm.h \
64 catch.hpp