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
e01a2fd1
Commit
e01a2fd1
authored
Jun 14, 2019
by
Bernd Machenschalk
Browse files
Makefile: improve selection of possible include paths
parent
aca23d27
Changes
1
Show whitespace changes
Inline
Side-by-side
src/Makefile
View file @
e01a2fd1
...
...
@@ -6,7 +6,22 @@ AR ?= ar
TARGET
=
libeclfft.a
TARGET2
=
libeclfft.so
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(NVIDIA_SDK_INSTALL_PATH)
/OpenCL/common/inc
-I
$(AMDAPPSDKROOT)
/include
-I
../include
-fPIC
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
ifdef
OPENCL_INSTALL_PATH
OPENCL_INCLUDE
=
$(OPENCL_INSTALL_PATH)
/include
endif
endif
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(OPENCL_INCLUDE)
-I
../include
-fPIC
OS
=
$(
shell
uname
-s
)
ifeq
($(OS), Darwin)
CXXFLAGS
+=
-I
/System/Library/Frameworks
...
...
Write
Preview
Markdown
is supported
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