diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-09-04 19:29:36 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-09-04 19:29:36 -0700 |
commit | 621c0cdcb5efc4f7c2382031becded018ef0b62b (patch) | |
tree | d6af78ef0872c9db0f48c99e6c93b8d4c43fa689 /Makefile | |
parent | 8f2758dda2ba12b78ae8f8c7170decc5e88dd28c (diff) |
Const invasion: large parts of upb made const-correct.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 \ |