summaryrefslogtreecommitdiff
path: root/exploits/7350855/Makefile
blob: dabeebaf02cefb28d406fd6ab0a07a570558ac2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#DFLAGS=-O2
DFLAGS=-g -ggdb `libnet-config --defines` -DDEBUG
CC=gcc
CFLAGS=$(DFLAGS) -Wall
OBJS=	common.o network.o sniff.o packet.o
LIBS=-lnet -lpcap -lpthread


all:	7350855 readtest

clean:
	rm -f *.o 7350855 readtest

readtest:	readtest.c network.o
	$(CC) $(CFLAGS) -o readtest readtest.c network.o

7350855:	$(OBJS) 7350855.c
	$(CC) $(CFLAGS) -o 7350855 7350855.c $(OBJS) $(LIBS)