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