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