Makefile revision bf7dd643
1CXXFLAGS=-g -Wall -pthread 2 3BINARIES=icmpecho rejectall acceptall discardall 4 5all: $(BINARIES) 6 7icmpecho: icmpecho.cc faketcp.cc 8rejectall: rejectall.cc faketcp.cc 9acceptall: acceptall.cc faketcp.cc 10discardall: discardall.cc faketcp.cc 11 12$(BINARIES): 13 g++ $(CXXFLAGS) $(LDFLAGS) $(filter %.cc,$^) -o $@ 14 15clean: 16 rm -f $(BINARIES) 17 18