-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
63 lines (52 loc) · 1.43 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
#
#
#
# Default compile rule
#
default: clean ver_710 cap_set
# Compile rule for SQL version
#
sql: clean ver_710_sql cap_set
# Compile rule for Earthworm version under 7.9
#
ver_709: libs echo_msg_709
@(cd ./src; make -f makefile.unix ver_709;);
ver_709_sql: libs_all echo_msg_709
@(cd ./src; make -f makefile.unix ver_709_sql;);
# Compile rule for Earthworm version over 7.10
#
ver_710: libs echo_msg_710
@(cd ./src; make -f makefile.unix ver_710;);
ver_710_sql: libs_all echo_msg_710
@(cd ./src; make -f makefile.unix ver_710_sql;);
#
#
cap_set:
@(cd ./src; make -f makefile.unix cap_set;);
#
#
libs: echo_msg_libraries
@(cd ./src/libsrc; make -f makefile.unix;);
libs_all: echo_msg_libraries
@echo "Making libraries";
@(cd ./src/libsrc; make -f makefile.unix all;);
#
#
echo_msg_709:
@echo "-----------------------------------";
@echo "- Making main palert2ew for EW7.9 -";
@echo "-----------------------------------";
echo_msg_710:
@echo "------------------------------------";
@echo "- Making main palert2ew for EW7.10 -";
@echo "------------------------------------";
echo_msg_libraries:
@echo "----------------------------------";
@echo "- Making libraries -";
@echo "----------------------------------";
# Clean-up rules
clean:
@(cd ./src; make -f makefile.unix clean;);
@(cd ./src/libsrc; make -f makefile.unix clean; make -f makefile.unix clean_lib;);
clean_bin:
@(cd ./src; make -f makefile.unix clean_bin;);