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
434038db
Commit
434038db
authored
Mar 03, 2011
by
Oliver Bock
Browse files
Added missing pieces for Linux/NVIDIA build
parent
8fe2fe82
Changes
2
Hide whitespace changes
Inline
Side-by-side
example/Makefile
View file @
434038db
PWD
=
$(
shell
pwd
)
NVIDIA_SDK_INSTALL_PATH
?=
/usr/local/cuda
TARGET
=
clfft_example
CXXFLAGS
+=
-O3
-Wall
-g
-I
../include
LDFLAGS
+=
../lib/libclfft.a
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(NVIDIA_SDK_INSTALL_PATH)
/OpenCL/common/inc
-I
../include
LDFLAGS
+=
$(PWD)
/
../lib/libclfft.a
OS
=
$(
shell
uname
-s
)
ifeq
($(OS), Darwin)
LDFLAGS
+=
-framework
OpenCL
else
LDFLAGS
+=
-lOpenCL
endif
...
...
src/Makefile
View file @
434038db
NVIDIA_SDK_INSTALL_PATH
?=
/usr/local/cuda
TARGET
=
libclfft.a
CXXFLAGS
+=
-O3
-Wall
-g
-I
../include
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(NVIDIA_SDK_INSTALL_PATH)
/OpenCL/common/inc
-I
../include
OS
=
$(
shell
uname
-s
)
ifeq
($(OS), Darwin)
CXXFLAGS
+=
-I
/System/Library/Frameworks
...
...
@@ -25,4 +27,4 @@ fft_kernelstring.o: fft_kernelstring.cpp ../include/clFFT.h fft_internal.h
clean
:
rm
-f
*
.o
rm
-f
*
.a
\ No newline at end of file
rm
-f
*
.a
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