summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-09-04 19:29:36 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-09-04 19:29:36 -0700
commit621c0cdcb5efc4f7c2382031becded018ef0b62b (patch)
treed6af78ef0872c9db0f48c99e6c93b8d4c43fa689 /Makefile
parent8f2758dda2ba12b78ae8f8c7170decc5e88dd28c (diff)
Const invasion: large parts of upb made const-correct.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 34027fe..6acb930 100644
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,11 @@
.PHONY: clean_leave_profile
# Default rule: just build libupb.
-all: lib
+default: lib
+
+# All: build absolutely everything
+all: lib tests benchmarks tools/upbc lua python
+testall: test pythontest
# User-specified CFLAGS.
USER_CFLAGS=$(strip $(shell test -f perf-cppflags && cat perf-cppflags))
@@ -46,6 +50,7 @@ endif
CC=gcc
CXX=g++
CFLAGS=-std=gnu99
+CXXFLAGS=-Ibindings/cpp
INCLUDE=-Itests -I.
CPPFLAGS=$(INCLUDE) -Wall -Wextra $(USER_CFLAGS)
LDLIBS=-lpthread upb/libupb.a
@@ -200,7 +205,8 @@ INTERACTIVE_TESTS= \
SIMPLE_CXX_TESTS= \
- tests/test_table
+ tests/test_table \
+ tests/test_cpp \
VARIADIC_TESTS= \
tests/t.test_vs_proto2.googlemessage1 \
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback