fix a bug in KdNode::subdivide and remove some extra variables
realtime.cc - use SW surface
ROOT=$(shell pwd)
include config.mk
all: python-module demos ccdemos
python-module: libs-float
	$(MAKE) -C src python-module
demos: python-module
	$(MAKE) -C demos
ccdemos: libs-float libs-double
	$(MAKE) -C ccdemos
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