Makefile
author Radek Brich <radek.brich@devl.cz>
Fri, 14 Dec 2007 10:34:31 +0100
branchpyrit
changeset 38 5d043eeb09d9
parent 24 d0d76e8a5203
child 40 929aad02c5f2
permissions -rw-r--r--
realtime_dragon demo: now fullsize model + octree realtime_bunny demo: bigger resolution Box, Sphere: implemented AABB intersection new stop condition for octree building (when number of shapes in children >= 6x shapes in parent node) fixes for octree 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