From 621c0cdcb5efc4f7c2382031becded018ef0b62b Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sun, 4 Sep 2011 19:29:36 -0700 Subject: Const invasion: large parts of upb made const-correct. --- Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 \ -- cgit v1.2.3