Commit 227182c4 authored by Oliver Bock's avatar Oliver Bock
Browse files

Switching to archive files (OpenCL.lib for 64 bit seems to be compiled to a...

Switching to archive files (OpenCL.lib for 64 bit seems to be compiled to a different/incompatible format)
parent 52add4a0
# patterns # patterns
*.o *.o
*.a libclfft.a
# files # files
clfft_example clfft_example
...@@ -7,7 +7,7 @@ ARCH ?= 32 ...@@ -7,7 +7,7 @@ ARCH ?= 32
TARGET = clfft_example.exe 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 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$(ARCH)/2.6/OpenCL.lib LDFLAGS += $(PWD)/../lib/libclfft.a -lOpenCL -L../lib/amd/win$(ARCH)/2.6
$(TARGET): main.cpp Makefile $(PWD)/../lib/libclfft.a $(TARGET): main.cpp Makefile $(PWD)/../lib/libclfft.a
$(CXX) $(CXXFLAGS) main.cpp $(LDFLAGS) -o $(TARGET) $(CXX) $(CXXFLAGS) main.cpp $(LDFLAGS) -o $(TARGET)
......
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