demos/Makefile
author Radek Brich <radek.brich@devl.cz>
Mon, 17 Dec 2007 22:03:50 +0100
branchpyrit
changeset 40 929aad02c5f2
parent 24 d0d76e8a5203
permissions -rw-r--r--
Makefile: added help and distclean target, plus small fixes ccdemos/common_sdl.h: print fps to window caption instead of console update and key callbacks fixed segfault when resizing window pressing c now causes print out of camera coordinates ccdemos/spheres_shadow.cc: controlling position of a light and focal length of camera

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