Commit 4967ca64 authored by Bernd Machenschalk's avatar Bernd Machenschalk
Browse files

example/Makefile: adapt the include path selection from src/Makefile here

parent 06adfda0
...@@ -5,7 +5,19 @@ CXX ?= g++ ...@@ -5,7 +5,19 @@ CXX ?= g++
TARGET = clfft_example TARGET = clfft_example
CXXFLAGS += -O3 -Wall -g -I$(NVIDIA_SDK_INSTALL_PATH)/OpenCL/common/inc -I$(AMDAPPSDKROOT)/include -I../include ifndef OPENCL_INCLUDE
ifdef CUDA_INSTALL_PATH
OPENCL_INCLUDE = $(CUDA_INSTALL_PATH)/include
endif
ifdef OPENCL_INSTALL_PATH
OPENCL_INCLUDE = $(OPENCL_INSTALL_PATH)/include
endif
endif
ifndef OPENCL_INCLUDE
OPENCL_INCLUDE = $(AMDAPPSDKROOT)/include -I$(NVIDIA_SDK_INSTALL_PATH)/OpenCL/common/inc
endif
CXXFLAGS += -O3 -Wall -g -I$(OPENCL_INCLUDE) -I../include -fPIC
LDFLAGS += $(PWD)/../lib/libclfft.a LDFLAGS += $(PWD)/../lib/libclfft.a
OS = $(shell uname -s) OS = $(shell uname -s)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment