-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
64 lines (47 loc) · 1.28 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
# First target, invoked by "make" without parameters
code: pcserver cmds firmware imgtool testrunner
all: pcserver testrunner firmware doc samples imgtool cmds unittests
local: pcserver testrunner sockserv samples imgtool cmds unittests
samples: sample/telnet sample/u1test sample/webcat
pcserver:
make -C pcserver
imgtool:
make -C imgtool
firmware:
make -C firmware zoo
cmds:
make -C cmds
doc:
make -C pcserver doc
make -C firmware doc
clean:
make -C pcserver veryclean
make -C imgtool clean
make -C firmware veryclean
make -C testrunner clean
make -C cmds veryclean
make -C unittests clean
install:
make -C pcserver install
make -C imgtool install
make -C cmds install
uninstall:
make -C pcserver uninstall
make -C imgtool uninstall
testrunner:
make -C testrunner
unittests:
make -C unittests
sockserv:
DEVICE=sockserv make -C firmware
tests: pcserver testrunner sockserv
make -C servertests tests
make -C fwtests tests
make -C unittests tests
sample/webcat: doc/webcat.lst
petcat -l 0401 -w4 doc/webcat.lst > sample/webcat
sample/telnet: doc/telnet.lst
petcat -l 0401 -w4 doc/telnet.lst > sample/telnet
sample/u1test: doc/u1test.lst
petcat -l 0401 -w4 doc/u1test.lst > sample/u1test
.PHONY: pcserver install uninstall firmware doc imgtool testrunner cmds unittests