summaryrefslogtreecommitdiff
path: root/exploits/7350855/0/Makefile
blob: e5e1542f6484883cd81385907da6a7f4a591c944 (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:	7350somefoo readtest

clean:
	rm -f *.o 7350somefoo readtest

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

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