-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathmakefile
63 lines (37 loc) · 1.54 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
CXXFLAGS=-g -std=c++14 -Wall -pedantic
CC=$(CXX)
STUDENT_DIR=my_code
TEST_DIR=tests
test_hello: $(TEST_DIR)/test_hello
$(TEST_DIR)/test_hello: $(STUDENT_DIR)/hello.cpp $(TEST_DIR)/test_hello.cpp
test_basics: $(TEST_DIR)/test_basics
$(TEST_DIR)/test_basics: $(STUDENT_DIR)/basics.cpp $(TEST_DIR)/test_basics.cpp
test_pointers: $(TEST_DIR)/test_pointers
$(TEST_DIR)/test_pointers: $(STUDENT_DIR)/pointers.cpp $(TEST_DIR)/test_pointers.cpp
test_weather: $(TEST_DIR)/test_weather
$(TEST_DIR)/test_weather: $(STUDENT_DIR)/weather.cpp $(TEST_DIR)/test_weather.cpp
test_complex: $(TEST_DIR)/test_complex
$(TEST_DIR)/test_complex: $(STUDENT_DIR)/complex.cpp $(TEST_DIR)/test_complex.cpp
test_vector: $(TEST_DIR)/test_vector
$(TEST_DIR)/test_vector: $(TEST_DIR)/test_vector.cpp
test_llist: $(TEST_DIR)/test_llist
$(TEST_DIR)/test_llist: $(STUDENT_DIR)/llist.cpp $(TEST_DIR)/test_llist.cpp
test_templ_ll: $(TEST_DIR)/test_templ_ll
$(TEST_DIR)/test_templ_ll: $(TEST_DIR)/test_templ_ll.cpp
# test_tvector: $(TEST_DIR)/test_tvector
# $(TEST_DIR)/test_tvector: $(TEST_DIR)/test_tvector.cpp
test_stl: $(TEST_DIR)/test_stl
$(TEST_DIR)/test_stl: $(TEST_DIR)/test_stl.cpp
test_functors: $(TEST_DIR)/test_functors
$(TEST_DIR)/test_functors: $(TEST_DIR)/test_functors.cpp
tests: test_hello test_basics test_pointers test_complex test_vector test_llist
tests/test_hello
tests/test_basics
tests/test_pointers
tests/test_complex
tests/test_vector
tests/test_tvector
tests/test_llist
prod: tests
- git commit -a -m "new assignment done"
git push origin master