Mercurial > hg > piper-cpp
annotate ext/json11/Makefile @ 253:1637bec2dfdc
Remove these version-dependent autogenerated files; let's aim to have them regenerated on build instead. The main reason they were here was because of the lack of capnpc for Windows/VC++ and that has been resolved with Cap'n Proto v0.6.
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Tue, 27 Jun 2017 14:37:15 +0100 (2017-06-27) |
parents | d607ae858682 |
children |
rev | line source |
---|---|
cannam@242 | 1 # Environment variable to enable or disable code which demonstrates the behavior change |
cannam@242 | 2 # in Xcode 7 / Clang 3.7, introduced by DR1467 and described here: |
cannam@242 | 3 # https://llvm.org/bugs/show_bug.cgi?id=23812 |
cannam@242 | 4 # Defaults to on in order to act as a warning to anyone who's unaware of the issue. |
cannam@242 | 5 ifneq ($(JSON11_ENABLE_DR1467_CANARY),) |
cannam@242 | 6 CANARY_ARGS = -DJSON11_ENABLE_DR1467_CANARY=$(JSON11_ENABLE_DR1467_CANARY) |
cannam@242 | 7 endif |
cannam@242 | 8 |
cannam@150 | 9 test: json11.cpp json11.hpp test.cpp |
cannam@242 | 10 $(CXX) $(CANARY_ARGS) -O -std=c++11 json11.cpp test.cpp -o test -fno-rtti -fno-exceptions |
cannam@150 | 11 |
cannam@150 | 12 clean: |
cannam@150 | 13 if [ -e test ]; then rm test; fi |
cannam@150 | 14 |
cannam@150 | 15 .PHONY: clean |