Christopher Dunn | d2fa664 | 2014-09-10 18:01:31 -0700 | [diff] [blame^] | 1 | all: build test-amalgamate |
2 | |||||
3 | build: | ||||
4 | mkdir -p build/debug | ||||
5 | cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=OFF -G "Unix Makefiles" ../.. | ||||
6 | make -C build/debug | ||||
7 | |||||
8 | # Currently, this depends on include/json/version.h generated | ||||
9 | # by cmake. | ||||
10 | test-amalgamate: build | ||||
11 | python2.7 amalgamate.py | ||||
12 | python3.4 amalgamate.py | ||||
13 | |||||
14 | .PHONY: build |