Bug fix: library linker error in Makefile on OS X

This commit is contained in:
Tom Deakin 2015-07-28 12:04:25 +01:00
parent 2b00245e63
commit 201bc4638f

View File

@ -3,7 +3,7 @@ CXXFLAGS = -std=c++11 -O3
PLATFORM = $(shell uname -s) PLATFORM = $(shell uname -s)
ifeq ($(PLATFORM), Darwin) ifeq ($(PLATFORM), Darwin)
LIBS = -framework OpenCL LDLIBS = -framework OpenCL
endif endif
all: gpu-stream-ocl gpu-stream-cuda all: gpu-stream-ocl gpu-stream-cuda