

.SILENT:
all: 
	#cd build && make V=1
	cd build && make

.PHONY: scrub
scrub: 
	echo "		[RM] build"
	rm -rf $(PWD)/build
	
.PHONY: configure
configure: 
	echo "		[mkdir] build"
	mkdir $(PWD)/build
	
	echo "		[cmake] build/"
	cd $(PWD)/build && cmake ../ >> /dev/null
#	use for more verbose output: (don't forget to remove the .SILENT)
#	cd $(PWD)/build && cmake -DCMAKE_VERBOSE_MAKEFILE=ON ../
	
.PHONY: install
install: 

.PHONY: uninstall
uninstall: 

.PHONY: clean
clean:
	#[ -f $(PWD)/build/Makefile ] && echo "Found" || echo "Not Found"
	[ -f $(PWD)/build/Makefile ] && cd build && make clean || true

