Mercurial > hg > Game > Cerium
changeset 1083:54cf940e124a draft
minor fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 18 Dec 2010 12:02:19 +0900 |
parents | cfabe454e7cc |
children | 849a1c233080 9061d19b8550 |
files | example/word_count/Makefile.def example/word_count/Makefile.macosx example/word_count/main.cc |
diffstat | 3 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/example/word_count/Makefile.def Fri Dec 17 12:24:29 2010 +0900 +++ b/example/word_count/Makefile.def Sat Dec 18 12:02:19 2010 +0900 @@ -3,6 +3,7 @@ # include/library path # ex macosx #CERIUM = /Users/gongo/Source/Cerium +ABIBIT=64 # ex linux/ps3 CERIUM = ../../../Cerium
--- a/example/word_count/Makefile.macosx Fri Dec 17 12:24:29 2010 +0900 +++ b/example/word_count/Makefile.macosx Sat Dec 18 12:02:19 2010 +0900 @@ -12,7 +12,7 @@ TASK_OBJS = $(TASK_SRCS:.cc=.o) LIBS += -lFifoManager `sdl-config --libs` -CC += -m32 +CC += -m$(ABIBIT) .SUFFIXES: .cc .o
--- a/example/word_count/main.cc Fri Dec 17 12:24:29 2010 +0900 +++ b/example/word_count/main.cc Sat Dec 18 12:02:19 2010 +0900 @@ -465,6 +465,7 @@ array_task_num = atoi(argv[i+1]); } else if (strcmp(argv[i], "-cpu") == 0) { spe_num = atoi(argv[i+1]); + if (spe_num==0) spe_num = 1; } } if (filename==0) {