#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)