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