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
52add4a0
Commit
52add4a0
authored
Jul 25, 2012
by
Oliver Bock
Browse files
Added MinGW 64 bit build target
parent
3a684d72
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
52add4a0
...
...
@@ -10,7 +10,11 @@ macos:
win32
:
$(MAKE)
-C
src
-f
Makefile.mingw
$(MAKE)
-C
example
-f
Makefile.mingw
ARCH
=
32
$(MAKE)
-C
example
-f
Makefile.mingw
win64
:
$(MAKE)
-C
src
-f
Makefile.mingw
ARCH
=
64
$(MAKE)
-C
example
-f
Makefile.mingw
clean
:
$(MAKE)
-C
src clean
...
...
example/Makefile.mingw
View file @
52add4a0
...
...
@@ -2,11 +2,12 @@ PWD = $(shell pwd)
NVIDIA_SDK_INSTALL_PATH
?=
/usr/local/cuda
AMDAPPSDKROOT
?=
/opt/AMDAPP
CXX
?=
i586-mingw32msvc-g++
ARCH
?=
32
TARGET
=
clfft_example.exe
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(NVIDIA_SDK_INSTALL_PATH)
/OpenCL/common/inc
-I
$(AMDAPPSDKROOT)
/include
-I
../include
-D_WIN32_WINDOWS
=
0x0410
-malign-double
LDFLAGS
+=
$(PWD)
/../lib/libclfft.a ../lib/amd/win
32
/2.6/OpenCL.lib
LDFLAGS
+=
$(PWD)
/../lib/libclfft.a ../lib/amd/win
$(ARCH)
/2.6/OpenCL.lib
$(TARGET)
:
main.cpp Makefile $(PWD)/../lib/libclfft.a
$(CXX)
$(CXXFLAGS)
main.cpp
$(LDFLAGS)
-o
$(TARGET)
...
...
lib/amd/win64/2.6/OpenCL.lib
0 → 100644
View file @
52add4a0
File added
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