summaryrefslogtreecommitdiff
path: root/Makefile
blob: 43862c103d007c4475094f4a6e12171607c1b8cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CFLAGS=-g

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

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

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