Makefile
author Radek Brich <radek.brich@devl.cz>
Thu, 13 Dec 2007 00:08:11 +0100
branchpyrit
changeset 36 b490093b0ac3
parent 24 d0d76e8a5203
child 40 929aad02c5f2
permissions -rw-r--r--
new virtual Shape::intersect_bbox implementation of triangle-AABB intersection octree building updated and simplified with help of this new method octree made default for Python, it's currently much faster than kd-tree (both building and traversal)

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