~ubuntu-branches/debian/sid/mapbox-wagyu/sid

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2017-08-05 13:58:26 UTC
  • Revision ID: package-import@ubuntu.com-20170805135826-o7wpsxp4ozgar7dd
Tags: 0.4.3-1
* New upstream release.
* Bump Standards-Version to 4.0.0, no changes.
* Add autopkgtest to test installability.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
CC := $(CC)
6
6
CXX := $(CXX)
7
 
CXXFLAGS := $(CXXFLAGS) -Iinclude -isystem mason_packages/headers/boost/$(BOOST_VERSION)/include -isystem mason_packages/headers/rapidjson/$(RAPIDJSON_VERSION)/include -isystem mason_packages/headers/geometry/$(GEOMETRY_VERSION)/include -std=c++11
 
7
CXXFLAGS := $(CXXFLAGS) -Iinclude -std=c++11
8
8
RELEASE_FLAGS := -O3 -DNDEBUG
9
9
WARNING_FLAGS := -Wall -Wextra -Weffc++ -Werror -Wsign-compare -Wfloat-equal -Wshadow -Wconversion
10
10
DEBUG_FLAGS := -g -O0 -DDEBUG -fno-inline-functions -fno-omit-frame-pointer
25
25
 
26
26
deps: mason_packages/headers/boost/$(BOOST_VERSION)/include mason_packages/headers/rapidjson/$(RAPIDJSON_VERSION)/include mason_packages/headers/geometry/$(GEOMETRY_VERSION)/include
27
27
 
28
 
build-test: tests/* include/mapbox/geometry/* deps Makefile
 
28
build-test: tests/* include/mapbox/geometry/* Makefile
29
29
        $(CXX) $(RELEASE_FLAGS) tests/test.cpp tests/unit/*.cpp $(WARNING_FLAGS) $(CXXFLAGS) -isystem ./tests -o test
30
30
 
31
 
build-debug: tests/* include/mapbox/geometry/* deps Makefile
 
31
build-debug: tests/* include/mapbox/geometry/* Makefile
32
32
        $(CXX) $(DEBUG_FLAGS) tests/test.cpp tests/unit/*.cpp $(WARNING_FLAGS) $(CXXFLAGS) -isystem ./tests -o test
33
33
 
34
34
build-fixture-tester-r: