diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/hello_World_Example/Makefile	Tue Jan 22 23:19:41 2013 +0900
@@ -0,0 +1,11 @@
+CFLAGS = -Wall -framework opencl
+CC = clang++
+OPT = -g
+
+TARGET=hello
+
+hello : hello.o
+	$(CC) $(OPT) $(CFLAGS) -o $@ $?
+
+clean:
+	rm -rf *.o $(TARGET)
\ No newline at end of file