# # $Id$ # # Libnet TCP testcode makefile # (c) 1998, 1999, 2000 route|daemon9 # @configure_input@ CC = @CC@ CFLAGS = @CFLAGS@ OBJECTS = syn-flood.o \ tcp.o \ tcp+data.o \ tcp+data+ipopt.o DEFINES += @DEFS@ LIBS = -L../../lib/ -lnet @ADDITIONAL_LIBS@ .c.o: $(CC) $(CFLAGS) $(DEFINES) -c $< -o $@ all: syn-flood tcp tcp+data tcp+data+ipopt syn-flood: $(OBJECTS) $(CC) syn-flood.o $(LIBS) -o ./syn-flood tcp: $(OBJECTS) $(CC) tcp.o $(LIBS) -o ./tcp tcp+data: $(OBJECTS) $(CC) tcp+data.o $(LIBS) -o ./tcp+data tcp+data+ipopt: $(OBJECTS) $(CC) tcp+data+ipopt.o $(LIBS) -o ./tcp+data+ipopt clean: rm -f *.core syn-flood tcp tcp+data tcp+data+ipopt *.o distclean: clean rm -f Makefile # EOF