Update Makefile and BUILD.md
[hashcat.git] / docs / BUILD.md
1 oclHashcat build documentation
2 =
3 # Revision:
4 * 1.3
5
6 # Authors:
7 * Gabriele Gristina <<matrix@hashcat.net>>
8 * Christoph Heuwieser <<dropdead@hashcat.net>>
9
10 # Building oclHashcat for Linux and OSX
11
12 Get a copy of the **oclHashcat** repository
13
14 ```sh
15 $ git clone https://github.com/hashcat/oclHashcat.git
16 ```
17
18 Run "make"
19
20 ```sh
21 $ make
22 ```
23
24 # Install oclHashcat for Linux
25
26 The install target is linux FHS compatible and can be used like this:
27
28 ```sh
29 $ make install
30 ```
31
32 If you install it, cached kernels, session files, restore- and pot-files etc. will go to $HOME/.hashcat/
33
34 # Building oclHashcat for Windows
35
36 Get a copy of the **oclHashcat** repository
37
38 ```sh
39 $ git clone https://github.com/hashcat/oclHashcat.git
40 ```
41
42 Basically all you need is the OpenCL Headers. 
43
44 Simply clone into the reference Implementation:
45
46 ```sh
47 $ mkdir -p deps/OpenCL-Headers
48 $ git clone https://github.com/KhronosGroup/OpenCL-Headers deps/OpenCL-Headers/CL
49 ```
50
51 ```sh
52 $ make win32 win64
53 ```
54 =
55 Enjoy your fresh **oclHashcat** binaries ;)