]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - BUILDING.md
Update building instructions to new script name
[dragonblocks_alpha.git] / BUILDING.md
1 # Building instructions
2
3 GNU make is used for compiling. The code and the Makefile are located in the src/ directory.
4
5 ## Dependencies
6 To build anything you need g++ and GNU make.
7 ```bash
8 sudo apt install build-essential make
9 ```
10
11 The development versions OpenGL, GLFW3, GLEW are required to build the client.
12 ```bash
13 sudo apt install libgl1-mesa-dev libglfw3-dev libglew-dev
14 ```
15
16 Don't forget to pull the submodules before building.
17 ``bash
18 git submodule update --init
19 ```
20
21 ## Available targets
22 - `all` (default)
23 - `Dragonblocks`
24 - `DragonblocksServer`
25 - `clean`
26 - `clobber`
27
28 The debug flag (`-g`) is set by default (RELEASE=TRUE will disable it).
29
30 ## Release
31 ```bash
32 ./snapshot.sh
33 ```
34 This script will create a snapshot zipfile.