# HG changeset patch # User Yuhi TOMARI # Date 1339448385 -32400 # Node ID d62b5d9faba0887b81bc96c19853910263de4618 # Parent a0feb4877a1fcb8a670c2724de872a50a43b570e improve GpuRunTest Makefile. diff -r a0feb4877a1f -r d62b5d9faba0 TaskManager/test/GpuRunTest/Makefile --- a/TaskManager/test/GpuRunTest/Makefile Sat Jun 09 21:36:18 2012 +0900 +++ b/TaskManager/test/GpuRunTest/Makefile Tue Jun 12 05:59:45 2012 +0900 @@ -1,17 +1,14 @@ include ./Makefile.def SRCS_TMP = $(wildcard *.cc) -SRCS_EXCLUDE = # 除外するファイルを書く +SRCS_EXCLUDE = GpuTaskManagerImpl.cc # 除外するファイルを書く SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP)) OBJS = $(SRCS:.cc=.o) TASK_DIR = ../../Gpu -TASK_SRCS_TMP = $(wildcard $(TASK_DIR)/*.cc) -TASK_SRCS_EXCLUDE = -TASK_SRCS = $(filter-out $(TASK_DIR)/$(TASK_SRCS_EXCLUDE),$(TASK_SRCS_TMP)) -TASK_OBJS = $(TASK_SRCS:.cc=.o) +TASK_OBJS = $(wildcard $(TASK_DIR)/*.o) -LIBS += ../../libGpuManager.a -framework opencl `sdl-config --libs` +LIBS += ../../libGpuManager.a -framework opencl `sdl-config --cflags` .SUFFIXES: .cc .o diff -r a0feb4877a1f -r d62b5d9faba0 TaskManager/test/GpuRunTest/Makefile.def --- a/TaskManager/test/GpuRunTest/Makefile.def Sat Jun 09 21:36:18 2012 +0900 +++ b/TaskManager/test/GpuRunTest/Makefile.def Tue Jun 12 05:59:45 2012 +0900 @@ -1,15 +1,10 @@ include ../../Makefile.def TARGET = GpuRunTest -# include/library path -# ex macosx -#CERIUM = /Users/gongo/Source/Cerium - -# ex linux/ps3 CERIUM = ../../../../Cerium CC = g++ -CFLAGS = -g -Wall -O9 +CFLAGS = -g -Wall INCLUDE = -I${CERIUM}/include/TaskManager -I. -I.. LIBS = -L${CERIUM}/TaskManager