blob: 8bbb2ac45d1972822654b4fc004d59b09ba6627a (
plain)
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
|
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -9,31 +9,31 @@
all: test
test:
- if ! test -e ../lib/libnet.a; then \
- cd .. && make; \
+ if ! test -e ../lib/libnet-1.0.a; then \
+ cd .. && $(MAKE); \
fi
- cd Random; make all
- cd ICMP; make all
- cd UDP; make all
- cd TCP; make all
- cd Ethernet; make all
- cd OSPF; make all
+ cd Random; $(MAKE) all
+ cd ICMP; $(MAKE) all
+ cd UDP; $(MAKE) all
+ cd TCP; $(MAKE) all
+ cd Ethernet; $(MAKE) all
+ cd OSPF; $(MAKE) all
clean:
- cd Random; make clean
- cd ICMP; make clean
- cd UDP; make clean
- cd TCP; make clean
- cd Ethernet; make clean
- cd OSPF; make clean
+ cd Random; $(MAKE) clean
+ cd ICMP; $(MAKE) clean
+ cd UDP; $(MAKE) clean
+ cd TCP; $(MAKE) clean
+ cd Ethernet; $(MAKE) clean
+ cd OSPF; $(MAKE) clean
distclean: clean
- cd TCP; make distclean
- cd UDP; make distclean
- cd ICMP; make distclean
- cd Random; make distclean
- cd Ethernet; make distclean
- cd OSPF; make distclean
+ cd TCP; $(MAKE) distclean
+ cd UDP; $(MAKE) distclean
+ cd ICMP; $(MAKE) distclean
+ cd Random; $(MAKE) distclean
+ cd Ethernet; $(MAKE) distclean
+ cd OSPF; $(MAKE) distclean
rm -f Makefile
# EOF
|