|
@@ -1,17 +1,11 @@
|
1
|
1
|
BLIB = ../bin/blib.a
|
2
|
2
|
CFLAGS = -Os
|
3
|
3
|
|
4
|
|
-all : hijack prototester mucurses_test
|
|
4
|
+all : hijack mucurses_test
|
5
|
5
|
|
6
|
6
|
hijack : hijack.c
|
7
|
7
|
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -lpcap -o $@ $<
|
8
|
8
|
|
9
|
|
-prototester.o : prototester.c
|
10
|
|
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $< -idirafter ../include
|
11
|
|
-
|
12
|
|
-prototester : prototester.o $(BLIB)
|
13
|
|
- $(CC) -o $@ $< -lc $(BLIB)
|
14
|
|
-
|
15
|
9
|
mucurses_test.o : mucurses_test.c
|
16
|
10
|
$(CC) $(CFLAGS) $(EXTRA_CFLAGS) -Wall -o $@ -c $<
|
17
|
11
|
|
|
@@ -19,4 +13,4 @@ mucurses_test : mucurses_test.o $(BLIB)
|
19
|
13
|
$(CC) -o $@ $< -lc $(BLIB)
|
20
|
14
|
|
21
|
15
|
clean :
|
22
|
|
- rm -f hijack prototester mucurses_test *.o
|
|
16
|
+ rm -f hijack mucurses_test *.o
|