source: trunk/CrypPlugins/KeySearcher/ExternalClient/Makefile

Last change on this file was 8983, checked in by kopal, 8 months ago

Complete CrypTool 2 project

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