Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oliver Behnke
libclfft
Commits
9ba1bd5c
Commit
9ba1bd5c
authored
Jun 14, 2019
by
Bernd Machenschalk
Browse files
fix selection of possible include paths
parent
e01a2fd1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
9ba1bd5c
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment