# hdw-sniff Makefile, created Fri May 27 20:42:55 CEST 2005 INCLUDEDIR = /usr/include CFLAGS = -DDEBUG -O3 -Wall LIBS = -lm -lncurses -lpcap OBJS = network.o event.o list.o display.o input.o OBJS2 = hdw-sniff links: ln -sf ../api/network/network.{c,h} . ln -sf ../api/event/event.{c,h} . ln -sf ../api/list/list.{c,h} . ln -sf ../api/display/display.{c,h} . ln -sf ../api/input/input.{c,h} . hdw-sniff: links $(OBJS) $(CC) $(CFLAGS) -o $@ $(OBJS) main.c parse.c $(LIBS) all: hdw-sniff clean: rm -f $(OBJS) $(OBJS2) remake: clean all install: mkdir -p /usr/bin cp hdw-sniff /usr/bin