forked from badaix/snapcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (22 loc) · 610 Bytes
/
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
.PHONY: client server
all: client server
reformat:
find client/ -iname *.h -o -iname *.hpp -o -iname *.cpp | xargs clang-format -i
find server/ -iname *.h -o -iname *.hpp -o -iname *.cpp | xargs clang-format -i
find common/ -iname *.h -o -iname *.hpp -o -iname *.cpp | xargs clang-format -i
server:
$(MAKE) -C server
client:
$(MAKE) -C client
clean:
$(MAKE) clean -C client
$(MAKE) clean -C server
rm -f *~
installclient:
$(MAKE) install -C client
installserver:
$(MAKE) install -C server
uninstallclient:
$(MAKE) uninstall -C client
uninstallserver:
$(MAKE) uninstall -C server