changeset 1459:d62b5d9faba0 draft

improve GpuRunTest Makefile.
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Tue, 12 Jun 2012 05:59:45 +0900
parents a0feb4877a1f
children d79256b51d7f
files TaskManager/test/GpuRunTest/Makefile TaskManager/test/GpuRunTest/Makefile.def
diffstat 2 files changed, 4 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- 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
 
--- 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