summaryrefslogtreecommitdiff
path: root/other/3wahas/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'other/3wahas/Makefile')
-rw-r--r--other/3wahas/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/other/3wahas/Makefile b/other/3wahas/Makefile
new file mode 100644
index 0000000..5fa74ee
--- /dev/null
+++ b/other/3wahas/Makefile
@@ -0,0 +1,27 @@
1
2DFLAGS=-g -Wall -DDEBUG -DLIBNET_LIL_ENDIAN
3LIBS=-lpcap -lnet
4CC=gcc
5CFLAGS=$(DFLAGS)
6PREFIX=/usr/local
7
8all: 3wahas
9
10clean:
11 rm -f *.o 3wahas
12
133wahas: common.o network.o sniff.o packet.o 3wahas.c
14 $(CC) $(CFLAGS) -o 3wahas 3wahas.c common.o sniff.o network.o packet.o $(LIBS)
15
16common.o: common.c
17 $(CC) $(CFLAGS) -c common.c
18
19network.o: network.c
20 $(CC) $(CFLAGS) -c network.c
21
22packet.o: packet.c
23 $(CC) $(CFLAGS) -c packet.c
24
25sniff.o: sniff.c
26 $(CC) $(CFLAGS) -c sniff.c
27