fix possible division by zero in ccdemos/common_ply.h
don't use DEFS variable in makefiles, just add it to CCFLAGS
compile float version of libs with -fsingle-precision-constant
ifndef $(ROOT)
    ROOT=$(shell pwd)/..
endif
    
all: ModulePath reqs models
ModulePath:
	echo "$(ROOT)/bin/python-module" > ModulePath
reqs:
	$(MAKE) -C .. libs-float python-module
models:
	$(MAKE) -C .. models
clean: ;
distclean: clean
	rm -f *.png
	rm -f *.pyc
	rm -f kdtree.obj