Mercurial > hg > Game > Cerium
annotate example/basic/Makefile @ 1491:fd09cdf2f531 draft
select CPU_TYPE
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Aug 2012 13:45:00 +0900 |
parents | 6b451d72daf5 |
children |
rev | line source |
---|---|
109 | 1 default: macosx |
2 | |
3 macosx: FORCE | |
4 @echo "Make for Mac OS X" | |
5 @$(MAKE) -f Makefile.macosx | |
6 | |
794 | 7 fifo64: FORCE |
8 @echo "Make for Mac OS X 64bit mode" | |
869 | 9 @$(MAKE) -f Makefile.macosx ABIBIT=64 |
794 | 10 |
109 | 11 linux: FORCE |
12 @echo "Make for Linux" | |
13 @$(MAKE) -f Makefile.linux | |
14 | |
256 | 15 cell: FORCE |
109 | 16 @echo "Make for PS3 (Cell)" |
256 | 17 @$(MAKE) -f Makefile.cell |
109 | 18 |
1487
6b451d72daf5
normal task run on GPU.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
869
diff
changeset
|
19 gpu: FORCE |
6b451d72daf5
normal task run on GPU.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
869
diff
changeset
|
20 @echo "Make for GPU (open cl)" |
6b451d72daf5
normal task run on GPU.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
869
diff
changeset
|
21 @$(MAKE) -f Makefile.gpu |
6b451d72daf5
normal task run on GPU.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
869
diff
changeset
|
22 |
109 | 23 FORCE: |
24 | |
25 clean: | |
26 @$(MAKE) -f Makefile.macosx clean | |
27 @$(MAKE) -f Makefile.linux clean | |
1487
6b451d72daf5
normal task run on GPU.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
869
diff
changeset
|
28 @$(MAKE) -f Makefile.cell clean |