summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <joshua@reverberate.org>2009-06-15 16:07:08 -0700
committerJoshua Haberman <joshua@reverberate.org>2009-06-15 16:07:08 -0700
commitbc717d84023eadd0fe94668f4034e4a09e4be9c9 (patch)
tree096101da08c88808df5e8431ded8f47fde0a47a3 /Makefile
parentccca4d71360776f5589312525b2397c84ad0096d (diff)
Implement inlining that works with both C99 and all versions of GCC.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index da620fe..a95652a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,8 @@
.PHONY: all clean
CC=gcc
-CFLAGS=-std=c99
+CXX=g++
+CFLAGS=-std=c99 -fgnu89-inline
CPPFLAGS=-O3 -Wall -Wextra -pedantic -g
OBJ=upb_parse.o upb_table.o upb_struct.o descriptor.o
all: $(OBJ) test_table
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback