1 2 3 4
CC=gcc LDFLAGS= -lpcap testsniffmake: test_sniff.c $(CC) $(CFLAGS) -o test_sniff test_sniff.c $(LDFLAGS)