view hello_World_Example/Makefile @ 2:ccea4e6a1945

add OpenCL example
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Jan 2013 23:19:41 +0900
parents
children
line wrap: on
line source

CFLAGS = -Wall -framework opencl
CC = clang++
OPT = -g

TARGET=hello

hello : hello.o
	$(CC) $(OPT) $(CFLAGS) -o $@ $?

clean:
	rm -rf *.o $(TARGET)