/opencl/tools

To get this branch, use:
bzr branch http://darksoft.org/webbzr/opencl/tools

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Suren A. Chilingaryan
  • Date: 2015-02-18 20:05:05 UTC
  • Revision ID: csa@suren.me-20150218200505-rm6guhe2fp09t9zd
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
BINARIES = cl_info cl_compiler cl_launch
 
2
CFLAGS = -I/opt/stream/include -I/opt/cuda/include
 
3
LIBS = -L/opt/stream/lib/x86_64
 
4
 
 
5
 
 
6
all: $(BINARIES)
 
7
 
 
8
$(BINARIES):%:%.c
 
9
        gcc -o $@ -lOpenCL -lpthread $< $(CFLAGS) $(LIBS)
 
10
 
 
11
clean:
 
12
        rm -f $(BINARIES)