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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
22
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     1
ifndef $(ROOT)
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     2
    ROOT=$(shell pwd)/..
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     3
endif
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     4
    
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     5
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     6
all: ModulePath reqs models
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     7
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     8
ModulePath:
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
     9
	echo "$(ROOT)/bin/python-module" > ModulePath
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    10
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    11
reqs:
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    12
	$(MAKE) -C .. libs-float python-module
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    13
24
d0d76e8a5203 new C++ demo: realtime_dragon.cc
Radek Brich <radek.brich@devl.cz>
parents: 22
diff changeset
    14
models:
d0d76e8a5203 new C++ demo: realtime_dragon.cc
Radek Brich <radek.brich@devl.cz>
parents: 22
diff changeset
    15
	$(MAKE) -C .. models
22
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    16
76b7bd51d64a new make infrastructure
Radek Brich <radek.brich@devl.cz>
parents:
diff changeset
    17
clean: ;
40
929aad02c5f2 Makefile: added help and distclean target, plus small fixes
Radek Brich <radek.brich@devl.cz>
parents: 24
diff changeset
    18
929aad02c5f2 Makefile: added help and distclean target, plus small fixes
Radek Brich <radek.brich@devl.cz>
parents: 24
diff changeset
    19
distclean: clean
929aad02c5f2 Makefile: added help and distclean target, plus small fixes
Radek Brich <radek.brich@devl.cz>
parents: 24
diff changeset
    20
	rm -f *.png
929aad02c5f2 Makefile: added help and distclean target, plus small fixes
Radek Brich <radek.brich@devl.cz>
parents: 24
diff changeset
    21
	rm -f *.pyc
929aad02c5f2 Makefile: added help and distclean target, plus small fixes
Radek Brich <radek.brich@devl.cz>
parents: 24
diff changeset
    22
	rm -f kdtree.obj