source: trunk/CrypPlugins/KeySearcher/ExternalClient/Makefile @ 2230

Last change on this file since 2230 was 2230, checked in by schwittmann, 11 years ago

Improved performance of ExternalClient

File size: 541 bytes
Line 
1SDK := $(HOME)/src/ati-stream-sdk-v2.2-lnx32
2
3OBJFILES := $(patsubst %.cpp,bin/%.o,$(wildcard *.cpp))
4
5.PHONY: all clean
6
7all: bin/Cryptool
8
9bin/Cryptool: $(OBJFILES)
10        g++ -fopenmp -O3 -o bin/Cryptool bin/*.o -Wall -Wextra -lpthread -ldl -L/usr/X11R6/lib -lOpenCL -lSDKUtil -L$(SDK)/lib/x86 -L$(SDK)/TempSDKUtil/lib/x86
11
12bin/%.o: %.cpp
13        mkdir -p bin
14        g++ -fopenmp -O3 -msse3 -Wfloat-equal -Wall -Wextra -Wpointer-arith -DATI_OS_LINUX -g3 -ffor-scope -I $(SDK)/include -I $(SDK)/samples/opencl/SDKUtil/include -o $@ -c $<
15
16clean:
17        rm -r bin
Note: See TracBrowser for help on using the repository browser.