ccdemos: put the common code to header files, common_ply.h and common_sdl.h
move all ccdemos on octree and make them all realtime (-i argument)
ROOT=$(shell pwd)
include config.mk
all: python-module demos ccdemos models
python-module: libs-float
	$(MAKE) -C src python-module
demos: python-module models
	$(MAKE) -C demos
ccdemos: libs-float libs-double models
	$(MAKE) -C ccdemos
models:
	$(MAKE) -C models
libs-float:
	$(MAKE) -C src libs-float
libs-double:
	$(MAKE) -C src libs-double
clean:
	$(MAKE) -C src clean
	$(MAKE) -C demos clean
	$(MAKE) -C ccdemos clean
# TARGETS
#########
tests: testvector testmatrix
# RULES
#######
test%: tests/%.cc
	$(CXX) -o $@ tests/$*.cc $(CCFLAGS)
	./$@
# DEPENDENCIES
##############
# library tests
testvector: tests/vector.cc src/vector.h