Commit ac856b1c authored by Oliver Bock's avatar Oliver Bock
Browse files

Updated Win32 build to APP SDK 2.5

parent 9bb73e1c
PWD = $(shell pwd) PWD = $(shell pwd)
NVIDIA_SDK_INSTALL_PATH ?= /usr/local/cuda NVIDIA_SDK_INSTALL_PATH ?= /usr/local/cuda
ATISTREAMSDKROOT ?= /usr/local/ati AMDAPPSDKROOT ?= /opt/AMDAPP
TARGET = clfft_example.exe TARGET = clfft_example.exe
CXXFLAGS += -O3 -Wall -g -I$(NVIDIA_SDK_INSTALL_PATH)/OpenCL/common/inc -I$(ATISTREAMSDKROOT)/include -I../include -D_WIN32_WINDOWS=0x0410 -malign-double 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.3/OpenCL.lib LDFLAGS += $(PWD)/../lib/libclfft.a ../lib/amd/win32/2.5/OpenCL.lib
$(TARGET): main.cpp Makefile $(PWD)/../lib/libclfft.a $(TARGET): main.cpp Makefile $(PWD)/../lib/libclfft.a
i586-mingw32msvc-g++ $(CXXFLAGS) main.cpp $(LDFLAGS) -o $(TARGET) i586-mingw32msvc-g++ $(CXXFLAGS) main.cpp $(LDFLAGS) -o $(TARGET)
......
NVIDIA_SDK_INSTALL_PATH ?= /usr/local/cuda NVIDIA_SDK_INSTALL_PATH ?= /usr/local/cuda
ATISTREAMSDKROOT ?= /usr/local/ati AMDAPPSDKROOT ?= /opt/AMDAPP
TARGET = libclfft.a TARGET = libclfft.a
CXXFLAGS += -O3 -Wall -g -I$(NVIDIA_SDK_INSTALL_PATH)/OpenCL/common/inc -I$(ATISTREAMSDKROOT)/include -I../include CXXFLAGS += -O3 -Wall -g -I$(NVIDIA_SDK_INSTALL_PATH)/OpenCL/common/inc -I$(AMDAPPSDKROOT)/include -I../include
OBJECTS = fft_setup.o fft_execute.o fft_kernelstring.o OBJECTS = fft_setup.o fft_execute.o fft_kernelstring.o
......
Markdown is supported
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