view TaskManager/test/GpuRunTest/Makefile @ 1483:f402f6444237 draft

create gpuTaskinit
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Mon, 06 Aug 2012 19:55:47 +0900
parents bde20cca45ae
children 622a7d053537
line wrap: on
line source

include ./Makefile.def

SRCS_TMP = $(wildcard *.cc)
SRCS_EXCLUDE =   # 除外するファイルを書く
SRCS = $(filter-out $(SRCS_EXCLUDE),$(SRCS_TMP))
OBJS = $(SRCS:.cc=.o)

LIBS += -lGpuManager  -framework opencl `sdl-config --libs`#cflags`

.SUFFIXES: .cc .o

.cc.o:
	$(CC) $(CFLAGS) $(INCLUDE) -c $< -o $@

all: $(TARGET)

$(TARGET): $(OBJS)
	$(CC) -o $@ $(OBJS) $(TASK_OBJS) $(LIBS)

link:
	$(CC) -o $(TARGET) $(OBJS) $(LIBS)

debug: $(TARGET)
	sudo gdb ./$(TARGET) 

clean:
	rm -f $(TARGET) $(OBJS)
	rm -f *~ \#*