demos/Makefile
author Radek Brich <radek.brich@devl.cz>
Tue, 18 Dec 2007 12:36:01 +0100
branchpyrit
changeset 41 c1080cb5bd6d
parent 40 929aad02c5f2
permissions -rw-r--r--
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