summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a298383..4530092 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CFLAGS=-g
-all: hello_world math-int get-global-id
+all: hello_world math-int get-global-id get-global-id-2d
hello_world: hello_world.o util.o
gcc -o hello_world $^ -L/usr/local/lib/ -lOpenCL
@@ -10,3 +10,6 @@ math-int: math-int.o util.o
get-global-id: get_global_id.o util.o
gcc -o get-global-id $^ -L/usr/local/lib/ -lOpenCL
+
+get-global-id-2d: get_global_id_2d.o util.o
+ gcc -o $@ $^ -L/usr/local/lib/ -lOpenCL