Skip to content

Commit

Permalink
Remove Boost serialization dependency.
Browse files Browse the repository at this point in the history
Fix dependency order so that protobufs are compiled before files that
need them.

Part of #54.
  • Loading branch information
JeffAbrahamson committed May 3, 2015
1 parent 1af0414 commit 1c60104
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ OBJECT = $(SRC:%.cpp=%.o)

LIBS = \
-lboost_program_options \
-lboost_serialization \
-lbz2 \
-lcrypto++ \
-lprotobuf \
Expand All @@ -44,7 +43,7 @@ all : srd test TAGS
%.pb.h %.pb.cc : %.proto
protoc --cpp_out=. $<

srd : main.o $(HEADER) $(OBJECT) Makefile
srd : $(HEADER) main.o $(OBJECT) Makefile
$(CC) -o srd main.o $(OBJECT) $(LIBS)

############################################################
Expand Down Expand Up @@ -94,7 +93,7 @@ test : $(TESTS)
-./$@

clean : clean-test
rm -f $(OBJECT) *.o *~ srd TAGS *_test
rm -f $(OBJECT) *.o *~ srd TAGS *_test $(PROTOBUF_C) $(PROTOBUF_H)

clean-test :
rm -rf srd-test-*/ test_[0-9]*\.[0-9]*
Expand Down

0 comments on commit 1c60104

Please sign in to comment.