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 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