forked from evil218/tstools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
44 lines (34 loc) · 879 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
33
34
35
36
37
38
39
40
41
42
43
44
# Makefile
#
# 20130730, ZHOU Cheng <zhoucheng@tsinghua.org.cn>
# 20130522, ZHOU Cheng <zhoucheng@tsinghua.org.cn>
# Do not print "Entering directory ..."
MAKEFLAGS += --no-print-directory
LIB_DIRS := libzlst
LIB_DIRS += libzbuddy
LIB_DIRS += libzts
LIB_DIRS += libparam_xml
LIB_DIRS += libzutil
EXE_DIRS := catts
EXE_DIRS += catip
EXE_DIRS += tsana
EXE_DIRS += tobin
define make_lib_dirs
@for dir in $(LIB_DIRS); do $(MAKE) -C $$dir $@; done
endef
define make_exe_dirs
@for dir in $(EXE_DIRS); do $(MAKE) -C $$dir $@; done
endef
all clean install uninstall lint:
$(make_lib_dirs)
$(make_exe_dirs)
pc:
$(make_lib_dirs)
distclean: clean
rm -f config.mak tstool_config.h config.h config.log ts.pc ts.def tags
tag:
ctags -R *
mode:
find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;
chmod 755 config.guess config.sub configure version.sh