summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-09 15:35:21 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-09 15:35:21 -0700
commit6485e39865f1aecf283e0dc0edf91d0a1c0363f0 (patch)
tree9898bf970787eb10727667f3f3042b8b81b88858
parent4d9c39b94d498e8a3ad2fb4966833092579ed038 (diff)
A few more tweaks to the benchmark Makefile.
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index f08c846..a2d3ff2 100644
--- a/Makefile
+++ b/Makefile
@@ -3,20 +3,20 @@
CC=gcc
CXX=g++
CFLAGS=-std=c99
-CPPFLAGS=-O3 -Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK -fomit-frame-pointer -Idescriptor -Isrc -Itests
+CPPFLAGS=-O3 -Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK -fomit-frame-pointer -Idescriptor -Isrc -Itests -I.
OBJ=src/upb_parse.o src/upb_table.o src/upb_msg.o src/upb_enum.o src/upb_context.o \
src/upb_string.o descriptor/descriptor.o
SRC=src/*.c src/*.h descriptor/*.c descriptor/*.h tests/*.c tests/*.h tools/*.c tools/*.h
ALL=$(OBJ) src/libupb.a tests/test_table tests/tests tools/upbc benchmark/benchmark
all: $(ALL)
clean:
- rm -f $(ALL) deps
+ rm -f $(ALL) deps benchmark/google_messages.proto.pb benchmark/google_messages.pb.*
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 -lm
+benchmark/benchmark: src/libupb.a benchmark/google_messages.pb.h benchmark/google_messages.pb.o -lm
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
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback