/opencl/tools

To get this branch, use:
bzr branch http://darksoft.org/webbzr/opencl/tools
1
2
3
4
5
6
7
8
9
10
11
12
BINARIES = cl_info cl_compiler cl_launch
CFLAGS = -I/opt/stream/include -I/opt/cuda/include
LIBS = -L/opt/stream/lib/x86_64


all: $(BINARIES)

$(BINARIES):%:%.c
	gcc -o $@ -lOpenCL -lpthread $< $(CFLAGS) $(LIBS)

clean:
	rm -f $(BINARIES)