Makefile revision b2fec1ea
1b9400f6cSShuo ChenCXXFLAGS=-g -Wall -pthread 2b9400f6cSShuo Chen 3b2fec1eaSShuo ChenBINARIES=icmpecho rejectall acceptall discardall connectmany 4b9400f6cSShuo Chen 5b9400f6cSShuo Chenall: $(BINARIES) 6b9400f6cSShuo Chen 7cc808594SShuo Chenicmpecho: icmpecho.cc faketcp.cc 8cc808594SShuo Chenrejectall: rejectall.cc faketcp.cc 9cc808594SShuo Chenacceptall: acceptall.cc faketcp.cc 10bf7dd643SShuo Chendiscardall: discardall.cc faketcp.cc 11b2fec1eaSShuo Chenconnectmany: connectmany.cc faketcp.cc 12b9400f6cSShuo Chen 13b9400f6cSShuo Chen$(BINARIES): 14b9400f6cSShuo Chen g++ $(CXXFLAGS) $(LDFLAGS) $(filter %.cc,$^) -o $@ 15b9400f6cSShuo Chen 16b9400f6cSShuo Chenclean: 17b9400f6cSShuo Chen rm -f $(BINARIES) 18b9400f6cSShuo Chen 19