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

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

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