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 4530092..43862c1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
CFLAGS=-g
-all: hello_world math-int get-global-id get-global-id-2d
+all: hello_world math-int get-global-id get-global-id-2d loop
hello_world: hello_world.o util.o
gcc -o hello_world $^ -L/usr/local/lib/ -lOpenCL
@@ -13,3 +13,6 @@ get-global-id: get_global_id.o util.o
get-global-id-2d: get_global_id_2d.o util.o
gcc -o $@ $^ -L/usr/local/lib/ -lOpenCL
+
+loop: loop.o util.o
+ gcc -o $@ $^ -L/usr/local/lib/ -lOpenCL