Commit 52add4a0 authored by Oliver Bock's avatar Oliver Bock
Browse files

Added MinGW 64 bit build target

parent 3a684d72
......@@ -10,7 +10,11 @@ macos:
$(MAKE) -C src -f Makefile.mingw
$(MAKE) -C example -f Makefile.mingw
ARCH=32 $(MAKE) -C example -f Makefile.mingw
$(MAKE) -C src -f Makefile.mingw
ARCH=64 $(MAKE) -C example -f Makefile.mingw
$(MAKE) -C src clean
......@@ -2,11 +2,12 @@ PWD = $(shell pwd)
NVIDIA_SDK_INSTALL_PATH ?= /usr/local/cuda
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/win32/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)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment