1all: build test-amalgamate
2
3build:
4	mkdir -p build/debug
5	cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=ON -G "Unix Makefiles" ../..
6	make -C build/debug
7
8# Currently, this depends on include/json/version.h generated
9# by cmake.
10test-amalgamate: build
11	python2.7 amalgamate.py
12	python3.4 amalgamate.py
13
14.PHONY: build
15