CXXFLAGS:=-Wall -pedantic -ansi -O3 BOOSTLIB:=-lboost_serialization-mt all: boost_serialize_protected_bug all: boost_serialize_protected_bug_minimal debug: CXXFLAGS:=$(CXXFLAGS) -g debug: BOOSTLIB:=-lboost_serialization-mt-d debug: all boost_serialize_protected_bug: boost_serialize_protected_bug.o g++ -o $@ $^ $(BOOSTLIB) boost_serialize_protected_bug.o: boost_serialize_protected_bug.cc boost_serialize_protected_bug_minimal: boost_serialize_protected_bug_minimal.o g++ -o $@ $^ $(BOOSTLIB) boost_serialize_protected_bug_minimal.o: boost_serialize_protected_bug_minimal.cc clean: -rm *.o bugtry.out -rm boost_serialize_protected_bug -rm boost_serialize_protected_bug_minimal