From fd184f0df2e5e428873eadfaf1ae829d2e4d8e51 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 22 Feb 2011 01:54:31 -0800 Subject: Major work on Lua extension and default values. Default values are now supported, and the Lua extension can now create and modify individual protobuf objects. --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d9f8008..13ce46a 100644 --- a/Makefile +++ b/Makefile @@ -94,6 +94,7 @@ TESTS_SRC= \ tests/test_stream.c \ tests/test_string.c \ tests/tests.c \ + tests/tests_varint.c \ tests/test_vs_proto2.cc ALLSRC=$(CORE) $(STREAM) $(BENCHMARKS_SRC) $(TESTS_SRC) @@ -138,11 +139,11 @@ $(LIBUPB_PIC): $(PICOBJ) # critical path but gets very large when -O3 is used. src/upb_def.o: src/upb_def.c $(E) CC $< - $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -Os -c -o $@ $< + $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -O0 -c -o $@ $< src/upb_def.lo: src/upb_def.c $(E) 'CC -fPIC' $< - $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -Os -c -o $@ $< -fPIC + $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -O0 -c -o $@ $< -fPIC src/upb_decoder_x64.o: src/upb_decoder_x64.asm $(E) NASM $< @@ -183,6 +184,7 @@ SIMPLE_TESTS= \ tests/test_string \ tests/test_def \ tests/test_stream \ + tests/test_varint \ tests/tests # tests/test_decoder \ @@ -202,7 +204,7 @@ tests/tests: tests/test.proto.pb $(SIMPLE_TESTS): % : %.c $(E) CC $< - $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< + $(Q) $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $< $(LIBUPB) VALGRIND=valgrind --leak-check=full --error-exitcode=1 test: tests -- cgit v1.2.3