comparison WordCount/Makefile @ 2:1a32564347d5

parallel word count
author Yutaka_Kinjyo
date Sun, 24 Jul 2011 01:45:40 +0900
parents 403e35dd9b6d
children 641eef31681e
comparison
equal deleted inserted replaced
1:403e35dd9b6d 2:1a32564347d5
1 TARGET= word_count 1 TARGET= word_count
2 CC = g++ 2 CC = g++
3 WARN = -Wall 3 WARN = -Wall
4 CFLAGS = -g #-isysroot /Developer/SDKs/MacOSX10.6.sdk 4 CCFLAGS = -g #-isysroot /Developer/SDKs/MacOSX10.6.sdk
5 LIBS = -framework OpenCL #-lclsdk 5 LIBS = -framework OpenCL #-lclsdk
6 6
7 HEADERS = $(shell ls *.h) 7 HEADERS = $(shell ls *.h)
8 SRCS = $(shell ls *.cc) 8 SRCS = $(shell ls *.cc)
9 OBJS = $(SRCS:.cc=.o) 9 OBJS = $(SRCS:.cc=.o)