summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-07 01:10:20 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-07 01:10:20 -0700
commit137991c7b2def357b9f18d0cd01ba671ebf1392d (patch)
treeb0cbb542fc4eec2ad2aabc61fd163bdba51b6f9f /Makefile
parent34fe50818d9cfb7c6200875985f12546e9400f22 (diff)
Added the beginnings of a benchmark.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8ddcd09..4643903 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
CC=gcc
CXX=g++
CFLAGS=-std=c99
-CPPFLAGS=-Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK -fomit-frame-pointer
+CPPFLAGS=-O0 -Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK
OBJ=upb_parse.o upb_table.o upb_msg.o upb_enum.o upb_context.o upb_string.o descriptor.o
all: $(OBJ) test_table tests upbc
clean:
@@ -13,6 +13,7 @@ libupb.a: $(OBJ)
ar rcs libupb.a $(OBJ)
test_table: libupb.a
upbc: libupb.a
+benchmark: libupb.a
-include deps
deps: *.c *.h
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback