diff options
author | Joshua Haberman <joshua@reverberate.org> | 2009-07-09 22:09:48 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2009-07-09 22:09:48 -0700 |
commit | 2abf3428043fdbefdcc611baae5c86a58aacd3a3 (patch) | |
tree | 9c655867dad3382ccbdef55f05b850372f87d8b8 | |
parent | e48f855b06babfa43b1a4f2a53a1f90c9df20067 (diff) |
Benchmark now should build out-of-the-box.
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -16,7 +16,8 @@ src/libupb.a: $(OBJ) ar rcs src/libupb.a $(OBJ) tests/test_table: src/libupb.a tools/upbc: src/libupb.a -benchmark/benchmark: src/libupb.a benchmark/google_messages.pb.h benchmark/google_messages.pb.o -lm +benchmark/benchmark: src/libupb.a benchmark/google_messages.pb.h benchmark/google_messages.pb.o + $(CXX) $(CPPFLAGS) -o benchmark/benchmark benchmark/google_messages.pb.o benchmark/benchmark.cc src/libupb.a -lm -lprotobuf -lpthread benchmark/google_messages.pb.h benchmark/google_messages.pb: benchmark/google_messages.proto protoc benchmark/google_messages.proto --cpp_out=. -obenchmark/google_messages.proto.pb |