-
Notifications
You must be signed in to change notification settings - Fork 92
/
Makefile.tail
executable file
·39 lines (33 loc) · 1.16 KB
/
Makefile.tail
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
##### End of variables to change
MY_RTSP_CLIENT = myRtspClient
JRTPLIB_DIR = $(THIRD_PARTY_DIR)/JRTPLIB
JRTPLIB_DIR_CMAKE_BUILD_DIR = build
JTHREAD_DIR_CMAKE_BUILD_DIR = build
BASE64_DIR = $(THIRD_PARTY_DIR)/Base64_live555
MD5_DIR = $(THIRD_PARTY_DIR)/md5
JTHREAD = $(THIRD_PARTY_DIR)/JTHREAD
THIRD_PARTY_DIR = third_party
EXAMPLE_DIR = example
all:
cd $(BASE64_DIR); $(MAKE)
cd $(MD5_DIR); $(MAKE)
cd $(JTHREAD); $(MAKE)
cd $(JRTPLIB_DIR); $(MAKE)
cd $(MY_RTSP_CLIENT); $(MAKE)
cd $(EXAMPLE_DIR); $(MAKE)
install:
cd $(BASE64_DIR); $(MAKE) install
cd $(MD5_DIR); $(MAKE) install
cd $(JTHREAD); $(MAKE) install
cd $(JRTPLIB_DIR); $(MAKE) install
cd $(MY_RTSP_CLIENT); $(MAKE) install
cd $(EXAMPLE_DIR); $(MAKE) install
clean:
cd $(BASE64_DIR); $(MAKE) clean
cd $(MD5_DIR); $(MAKE) clean
cd $(JTHREAD); $(MAKE) clean; rm -rf $(JTHREAD_DIR_CMAKE_BUILD_DIR)
cd $(JRTPLIB_DIR); $(MAKE) clean; rm -rf $(JRTPLIB_DIR_CMAKE_BUILD_DIR)
cd $(MY_RTSP_CLIENT); $(MAKE) clean;
cd $(EXAMPLE_DIR); $(MAKE) clean
distclean: clean
-rm -f $(JRTPLIB_DIR)/Makefile $(BASE64_DIR)/Makefile $(MD5_DIR)/Makefile $(JTHREAD)/Makefile $(MY_RTSP_CLIENT)/Makefile $(EXAMPLE_DIR)/Makefile