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

Last change on this file since 2205 was 2205, checked in by Sven Rech, 11 years ago

Added external client for other plattforms which can be used to support the keysearcher (client doesn't work yet)

File size: 515 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++ -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++ -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.