Mercurial > hg > Game > Cerium
changeset 114:442cbf594017 draft
fix Makefile
author | gongo@gendarme.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 13 Nov 2008 10:24:16 +0900 |
parents | 80d93fe0601d |
children | d9ea79aac04f |
files | example/HelloWorld/Makefile.def example/HelloWorld/Makefile.linux example/HelloWorld/Makefile.macosx example/HelloWorld/Makefile.ps3 |
diffstat | 4 files changed, 12 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/example/HelloWorld/Makefile.def Thu Nov 13 10:10:57 2008 +0900 +++ b/example/HelloWorld/Makefile.def Thu Nov 13 10:24:16 2008 +0900 @@ -3,6 +3,14 @@ # include/library path # ex: macosx #CERIUM = /Users/gongo/Source/Concurrency/Game_project/Cerium +CERIUM = /Users/gongo/Source/Cerium # ex: linux/ps3 -CERIUM = /home/gongo/Game_project/Cerium \ No newline at end of file +#CERIUM = /home/gongo/Game_project/Cerium + + +CC = g++ +CFLAGS = -g -Wall -O9 + +INCLUDE = -I${CERIUM}/include/TaskManager -I. -I.. +LIBS = -L${CERIUM}/TaskManager
--- a/example/HelloWorld/Makefile.linux Thu Nov 13 10:10:57 2008 +0900 +++ b/example/HelloWorld/Makefile.linux Thu Nov 13 10:24:16 2008 +0900 @@ -11,11 +11,7 @@ TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP)) TASK_OBJS = $(TASK_SRCS:.cc=.o) -CC = g++ -CFLAGS = -g -Wall# -O9 #-DDEBUG - -INCLUDE = -I${CERIUM}/include/TaskManager -I. -I.. -LIBS = -L${CERIUM}/TaskManager -lFifoManager +LIBS += -lFifoManager .SUFFIXES: .cc .o
--- a/example/HelloWorld/Makefile.macosx Thu Nov 13 10:10:57 2008 +0900 +++ b/example/HelloWorld/Makefile.macosx Thu Nov 13 10:24:16 2008 +0900 @@ -11,11 +11,7 @@ TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP)) TASK_OBJS = $(TASK_SRCS:.cc=.o) -CC = g++ -CFLAGS = -g -Wall# -O9 #-DDEBUG - -INCLUDE = -I${CERIUM}/include/TaskManager -I. -I.. -LIBS = -L${CERIUM}/TaskManager -lFifoManager +LIBS += -lFifoManager `sdl-config --libs` .SUFFIXES: .cc .o
--- a/example/HelloWorld/Makefile.ps3 Thu Nov 13 10:10:57 2008 +0900 +++ b/example/HelloWorld/Makefile.ps3 Thu Nov 13 10:24:16 2008 +0900 @@ -11,11 +11,7 @@ TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP)) TASK_OBJS = $(TASK_SRCS:.cc=.o) -CC = g++ -CFLAGS = -g -Wall # -O9 #-DDEBUG - -INCLUDE = -I${CERIUM}/include/TaskManager -I. -I.. -LIBS = -L${CERIUM}/TaskManager -lCellManager -lspe2 -lpthread -Wl,--gc-sections +LIBS = -lCellManager -lspe2 -lpthread -Wl,--gc-sections .SUFFIXES: .cc .o