Skip to content
Snippets Groups Projects
Commit 9ba1bd5c authored by Bernd Machenschalk's avatar Bernd Machenschalk
Browse files

fix selection of possible include paths

parent e01a2fd1
No related branches found
No related tags found
No related merge requests found
......@@ -7,12 +7,6 @@ TARGET = libeclfft.a
TARGET2 = libeclfft.so
ifndef OPENCL_INCLUDE
ifdef AMDAPPSDKROOT
OPENCL_INCLUDE = $(AMDAPPSDKROOT)/include
endif
ifdef NVIDIA_SDK_INSTALL_PATH
OPENCL_INCLUDE = $(NVIDIA_SDK_INSTALL_PATH)/OpenCL/common/inc
endif
ifdef CUDA_INSTALL_PATH
OPENCL_INCLUDE = $(CUDA_INSTALL_PATH)/include
endif
......@@ -20,6 +14,9 @@ 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
OS = $(shell uname -s)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment