1 | CXXFLAGS:=-Wall -pedantic -ansi -O3
|
---|
2 | BOOSTLIB:=-lboost_serialization-mt
|
---|
3 |
|
---|
4 | all: boost_serialize_protected_bug
|
---|
5 | all: boost_serialize_protected_bug_minimal
|
---|
6 |
|
---|
7 | debug: CXXFLAGS:=$(CXXFLAGS) -g
|
---|
8 | debug: BOOSTLIB:=-lboost_serialization-mt-d
|
---|
9 | debug: all
|
---|
10 |
|
---|
11 | boost_serialize_protected_bug: boost_serialize_protected_bug.o
|
---|
12 | g++ -o $@ $^ $(BOOSTLIB)
|
---|
13 |
|
---|
14 | boost_serialize_protected_bug.o: boost_serialize_protected_bug.cc
|
---|
15 |
|
---|
16 | boost_serialize_protected_bug_minimal: boost_serialize_protected_bug_minimal.o
|
---|
17 | g++ -o $@ $^ $(BOOSTLIB)
|
---|
18 |
|
---|
19 | boost_serialize_protected_bug_minimal.o: boost_serialize_protected_bug_minimal.cc
|
---|
20 |
|
---|
21 | clean:
|
---|
22 | -rm *.o bugtry.out
|
---|
23 | -rm boost_serialize_protected_bug
|
---|
24 | -rm boost_serialize_protected_bug_minimal
|
---|