-
Notifications
You must be signed in to change notification settings - Fork 38
/
Makefile
69 lines (62 loc) · 856 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
LIBS := \
builder \
ce \
distel \
edoc \
eldap \
enfs \
erl_cgi \
ermacs \
ex11 \
gd1_drv \
gen_leader \
slang \
ssh \
lersp \
lines \
measurement \
msc \
plain_fsm \
pan \
pico \
posix_drv \
proc \
proc_reg \
quickcheck \
rdbms \
rpc \
smart_exceptions \
spread_drv \
syntax_tools \
tuntap \
ucs \
wiki \
wumpus \
www_tools \
xmerl \
xmlrpc
all: $(LIBS)
clean:
@for dir in $(LIBS); do \
if [ ! -f $@/SKIP ]; then \
(cd $$dir; $(MAKE) $@) \
fi \
done
$(LIBS):
@if [ ! -f $@/SKIP ]; then \
(cd $@; $(MAKE) all) \
fi
# Dependencies between programs.
ce: edoc
edoc: syntax_tools xmerl
ermacs: slang msc
enfs: rpc
gen_leader: edoc
lines: edoc
measurement: edoc
plain_fsm: edoc
wiki: pico
wumpus: edoc
xmlrpc: xmerl
xmerl: ucs
.PHONY: $(LIBS)