Permalink
Browse files

Update to COMPILING.md (#22600)

* Updating to COMPILING.md

* revert from apt to apt-get
  • Loading branch information...
Podesta authored and kevingranade committed Jan 4, 2018
1 parent 16a67d4 commit f4c88fdf33f75003ea204714aa86cedba2eec3f8
Showing with 12 additions and 2 deletions.
  1. +12 −2 COMPILING.md
View
@@ -136,17 +136,27 @@ Dependencies:
* SDL_ttf
* freetype
* build essentials
* lua5.2 and liblua5.2 - Only necessary if compiling with lua, which some mods like stats through skills use. Versions 5.1, 5.2 and 5.3 are supported.
* libsdl2-mixer-dev - Used if compiling with sound support.
Install:
sudo apt-get install libsdl1.2-dev libsdl-ttf2.0-dev libfreetype6-dev build-essential
sudo apt-get install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev libfreetype6-dev build-essential lua5.2 liblua5.2-dev
### Building
Run:
A simple installation could be done by simply running:
make TILES=1
A more comprehensive alternative is:
make -j2 TILES=1 SOUND=1 RELEASE=1 LUA=1 USE_HOME_DIR=1
The -j2 flag means it will compile with two parallel processes. It can be omitted or changed to -j4 in a more modern processor. If there is no desire to use lua, or have sound, those flags can also be ommitted. The USE_HOME_DIR flag places the user files, like configurations and saves into the home folder, making It easier for backups, and can also be omitted.
## Cross-compiling to linux 32-bit from linux 64-bit
Dependencies:

0 comments on commit f4c88fd

Please sign in to comment.