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
Maximillian Bensch
libclfft
Commits
4967ca64
Commit
4967ca64
authored
Aug 12, 2019
by
Bernd Machenschalk
Browse files
example/Makefile: adapt the include path selection from src/Makefile here
parent
06adfda0
Changes
1
Hide whitespace changes
Inline
Side-by-side
example/Makefile
View file @
4967ca64
...
...
@@ -5,7 +5,19 @@ CXX ?= g++
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
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