comparison ext/json11/Makefile @ 247:8a031eb9a25f

Merge branch 'output-type-uri'
author Chris Cannam <cannam@all-day-breakfast.com>
date Thu, 15 Jun 2017 09:52:01 +0100
parents d607ae858682
children
comparison
equal deleted inserted replaced
219:db929669e7d3 247:8a031eb9a25f
1 # Environment variable to enable or disable code which demonstrates the behavior change
2 # in Xcode 7 / Clang 3.7, introduced by DR1467 and described here:
3 # https://llvm.org/bugs/show_bug.cgi?id=23812
4 # Defaults to on in order to act as a warning to anyone who's unaware of the issue.
5 ifneq ($(JSON11_ENABLE_DR1467_CANARY),)
6 CANARY_ARGS = -DJSON11_ENABLE_DR1467_CANARY=$(JSON11_ENABLE_DR1467_CANARY)
7 endif
8
1 test: json11.cpp json11.hpp test.cpp 9 test: json11.cpp json11.hpp test.cpp
2 $(CXX) -O -std=c++11 json11.cpp test.cpp -o test -fno-rtti -fno-exceptions 10 $(CXX) $(CANARY_ARGS) -O -std=c++11 json11.cpp test.cpp -o test -fno-rtti -fno-exceptions
3 11
4 clean: 12 clean:
5 if [ -e test ]; then rm test; fi 13 if [ -e test ]; then rm test; fi
6 14
7 .PHONY: clean 15 .PHONY: clean