forked from hunterzhao/EasySTL
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
32 lines (22 loc) · 1.1 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
stl : main.o listTest.o vectorTest.o alloc.o dequeTest.o heapTest.o rbtreeTest.o setTest.o mapTest.o
g++ -g -std=c++11 -o stl main.o listTest.o vectorTest.o alloc.o dequeTest.o heapTest.o rbtreeTest.o setTest.o mapTest.o
main.o : main.cpp ./test/mapTest.h
g++ -g -std=c++11 -c main.cpp
listTest.o : ./test/listTest.cpp ./test/listTest.h
g++ -g -std=c++11 -c ./test/listTest.cpp
vectorTest.o : ./test/vectorTest.cpp ./test/vectorTest.h
g++ -g -std=c++11 -c ./test/vectorTest.cpp
dequeTest.o : ./test/dequeTest.cpp ./test/dequeTest.h
g++ -g -std=c++11 -c ./test/dequeTest.cpp
heapTest.o : ./test/heapTest.cpp ./test/heapTest.h
g++ -g -std=c++11 -c ./test/heapTest.cpp
rbtreeTest.o : ./test/rbtreeTest.cpp ./test/rbtreeTest.h
g++ -g -std=c++11 -c ./test/rbtreeTest.cpp
setTest.o : ./test/setTest.cpp ./test/setTest.h
g++ -g -std=c++11 -c ./test/setTest.cpp
mapTest.o : ./test/mapTest.cpp ./test/mapTest.h
g++ -g -std=c++11 -c ./test/mapTest.cpp
alloc.o : alloc.cpp alloc.h
g++ -g -std=c++11 -c alloc.cpp
clean :
rm stl main.o listTest.o vectorTest.o alloc.o dequeTest.o heapTest.o rbtreeTest.o setTest.o