summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-07-07 16:59:08 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-07-07 16:59:08 -0700
commit127adf4036baa5d6c41d59b4e2b3462b4180c2d6 (patch)
treec4ddfa465ccdbcf695ca3e9804ecf2c8f75eaa86 /Makefile
parent137991c7b2def357b9f18d0cd01ba671ebf1392d (diff)
More work on the benchmark.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4643903..7a825dd 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
CC=gcc
CXX=g++
CFLAGS=-std=c99
-CPPFLAGS=-O0 -Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK
+CPPFLAGS=-O3 -Wall -Wextra -pedantic -g -DUPB_UNALIGNED_READS_OK -fomit-frame-pointer
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,7 +13,7 @@ libupb.a: $(OBJ)
ar rcs libupb.a $(OBJ)
test_table: libupb.a
upbc: libupb.a
-benchmark: libupb.a
+benchmark: libupb.a -lm
-include deps
deps: *.c *.h
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback