-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
67 lines (59 loc) · 2 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
64
65
66
67
all: prepare
cd LetheCommon; make all
cd LetheThreadComm; make all
cd LetheProcessComm; make all
cd LetheSocketComm; make all
cd LetheThreadUtil; make all
prepare:
cd thirdParty; make prepare
# install is used to install the kernel module needed for mutex/semaphore/event auto-reset on linux
install: prepare
cd LetheCommon; make install
check: prepare
cd LetheCommon; make check
cd LetheThreadComm; make check
cd LetheProcessComm; make check
cd LetheSocketComm; make check
cd LetheThreadUtil; make check
valCheck: prepare
cd LetheCommon; make valCheck
cd LetheThreadComm; make valCheck
cd LetheProcessComm; make valCheck
cd LetheSocketComm; make valCheck
cd LetheThreadUtil; make valCheck
cppcheck: prepare
cppcheck --quiet --enable=all \
-ILetheCommon/include \
-ILetheThreadComm/include \
-ILetheProcessComm/include \
-ILetheSocketComm/include \
-ILetheThreadUtil/include \
-IthirdParty/mct/include \
LetheCommon/src \
LetheThreadComm/src \
LetheProcessComm/src \
LetheSocketComm/src \
LetheThreadUtil/test \
2>&1 | tee check.log
cppcheckTest: prepare
cppcheck --quiet --enable=all \
-ILetheCommon/include \
-ILetheThreadComm/include \
-ILetheProcessComm/include \
-ILetheSocketComm/include \
-ILetheThreadUtil/include \
-IthirdParty/mct/include \
-IthirdParty/catch/include \
LetheCommon/test \
LetheThreadComm/test \
LetheProcessComm/test \
LetheSocketComm/test \
LetheThreadUtil/test \
2>&1 | tee checkTest.log
clean:
cd thirdParty; make clean
cd LetheCommon; make clean
cd LetheThreadComm; make clean
cd LetheProcessComm; make clean
cd LetheSocketComm; make clean
cd LetheThreadUtil; make clean