summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2012-03-13 11:04:08 -0400
committerTom Stellard <thomas.stellard@amd.com>2012-03-13 11:09:47 -0400
commit8cc71da413c5966ff94f016f718110057129d503 (patch)
treedc8e80684ccff9339b7890c524ffbeb70ebb045a /Makefile
parenta493703303f953fa31703b36d112c7d595efa4c7 (diff)
Add get_global_id example
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 85f7f53..a298383 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,12 @@
CFLAGS=-g
-all: hello_world math-int
+all: hello_world math-int get-global-id
hello_world: hello_world.o util.o
gcc -o hello_world $^ -L/usr/local/lib/ -lOpenCL
math-int: math-int.o util.o
gcc -o math-int $^ -L/usr/local/lib/ -lOpenCL
+
+get-global-id: get_global_id.o util.o
+ gcc -o get-global-id $^ -L/usr/local/lib/ -lOpenCL