summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e7fc8ed..927c5c8 100644
--- a/Makefile
+++ b/Makefile
@@ -3,15 +3,16 @@
CC=gcc
CXX=g++
CFLAGS=-std=c99
-CPPFLAGS=-O3 -Wall -Wextra -pedantic -g
-OBJ=upb_parse.o upb_table.o upb_struct.o descriptor.o
+CPPFLAGS=-O3 -Wall -Wextra -pedantic -g -DNDEBUG -DUPB_UNALIGNED_READS_OK -fomit-frame-pointer
+OBJ=upb_parse.o upb_table.o upb_msg.o descriptor.o upb_inlinedefs.o
all: $(OBJ) test_table tests
clean:
rm -f $(OBJ) tests
upb_parse.o: upb_parse.c upb_parse.h
upb_table.o: upb_table.c upb_table.h
-upb_struct.o: upb_struct.c upb_struct.h
+upb_msg.o: upb_msg.c upb_msg.h
+upb_inlinedefs.o: upb_inlinedefs.c upb_msg.h
descriptor.o: descriptor.c descriptor.h
test_table: test_table.cc upb_table.o
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback