forked from jselbie/stunserver
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (25 loc) · 637 Bytes
/
Makefile
File metadata and controls
37 lines (25 loc) · 637 Bytes
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
.PHONY: all everything copybin debug clean
all: everything copybin
everything:
$(MAKE) $(T) --directory=common
$(MAKE) $(T) --directory=stuncore
$(MAKE) $(T) --directory=networkutils
$(MAKE) $(T) --directory=testcode
$(MAKE) $(T) --directory=client
$(MAKE) $(T) --directory=server
copybin: everything
rm -f ./stunserver ./stunclient ./stuntestcode
cp server/stunserver .
cp client/stunclient .
cp testcode/stuntestcode .
debug: T := debug
debug: all
profile: T := profile
profile: all
pgo1: T := pgo1
pgo1: all
pgo2: T := pgo2
pgo2: all
clean: T := clean
clean: everything
rm -f stunserver stunclient stuntestcode