Makefile revision bf7dd643
1b9400f6cSShuo ChenCXXFLAGS=-g -Wall -pthread 2b9400f6cSShuo Chen 3bf7dd643SShuo ChenBINARIES=icmpecho rejectall acceptall discardall 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 11b9400f6cSShuo Chen 12b9400f6cSShuo Chen$(BINARIES): 13b9400f6cSShuo Chen g++ $(CXXFLAGS) $(LDFLAGS) $(filter %.cc,$^) -o $@ 14b9400f6cSShuo Chen 15b9400f6cSShuo Chenclean: 16b9400f6cSShuo Chen rm -f $(BINARIES) 17b9400f6cSShuo Chen 18