-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile
21 lines (15 loc) · 807 Bytes
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.RECIPEPREFIX = >
test : test.c
> gcc test.c; ./a.out; rm ./a.out;
listTest : src/contacts/list.c src/contacts/list.h
> gcc src/contacts/list.c src/contacts/sds.c -o listTest; ./listTest; rm ./listTest;
sdsTest : src/contacts/sds.c src/contacts/sds.h
> gcc src/contacts/sds.c -o sdsTest; ./sdsTest; rm ./sdsTest;
dictTest : src/contacts/dict.c src/contacts/dict.h
> gcc src/contacts/dict.c src/contacts/sds.c src/contacts/list.c -o dictTest; ./dictTest; rm ./dictTest;
contacts :
> gcc src/contacts/server.c src/contacts/sds.c src/contacts/list.c src/contacts/account.c src/contacts/dict.c -o server1 -std=c99;
treeTest :
> g++ src/treeCount/treeCount.cpp -o treeCount -std=c++11; ./treeCount; rm ./treeCount;
tree :
> g++ src/treeCount/treeCount.cpp src/treeCount/server.cpp -o server2 -std=c++11;