mirror of
				https://github.com/open-source-parsers/jsoncpp.git
				synced 2025-11-03 18:22:32 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			345 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			345 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
all: build test-amalgamate
 | 
						|
 | 
						|
build:
 | 
						|
	mkdir -p build/debug
 | 
						|
	cd build/debug; cmake -DCMAKE_BUILD_TYPE=debug -DJSONCPP_LIB_BUILD_SHARED=ON -G "Unix Makefiles" ../..
 | 
						|
	make -C build/debug
 | 
						|
 | 
						|
# Currently, this depends on include/json/version.h generated
 | 
						|
# by cmake.
 | 
						|
test-amalgamate: build
 | 
						|
	python2.7 amalgamate.py
 | 
						|
	python3.4 amalgamate.py
 | 
						|
 | 
						|
.PHONY: build
 |