Mercurial > hg > Members > yutaka > OpenCL
view WordCount/Makefile @ 4:641eef31681e
non bloking clEnqueuReadBuffer
author | Yutaka_Kinjyo |
---|---|
date | Thu, 28 Jul 2011 10:55:36 +0900 |
parents | 1a32564347d5 |
children |
line wrap: on
line source
TARGET= word_count CC = g++ WARN = -Wall CCFLAGS = -g #-isysroot /Developer/SDKs/MacOSX10.6.sdk #CCFLAGS = -g -DBLOKING #-isysroot /Developer/SDKs/MacOSX10.6.sdk LIBS = -framework OpenCL #-lclsdk HEADERS = $(shell ls *.h) SRCS = $(shell ls *.cc) OBJS = $(SRCS:.cc=.o) .SUFFIXES: .cc .o .cc.o: $(CC) $(CCFLAGS) $(INCLUDE) -c $< -o $@ all: $(TARGET) $(TARGET): $(OBJS) $(CC) -o $@ $(OBJS) $(LIBS) clean: rm -f $(TARGET) $(OBJS) rm -f *~ \#*