Better Tetris build docs

This commit is contained in:
igotti-google
2017-03-27 11:02:17 +03:00
parent af3b74451d
commit 4323065db5
+7 -1
View File
@@ -4,7 +4,13 @@ This example shows implementation of simple Tetris game using SDL
(Simple DirectMedia Layer) library for rendering. SDL allows easy development (Simple DirectMedia Layer) library for rendering. SDL allows easy development
of cross-platform game and multimedia applications. of cross-platform game and multimedia applications.
Start with building compiler by using `dist` and `cross_dist` for cross-targets. Start with building compiler by using `dist` and `cross_dist` for cross-targets (unless
using binary distribution).
Install SDL2 development files (see https://www.libsdl.org/download-2.0.php). For Mac -
copy `SDL2.framework` to `$HOME/Library/Frameworks`. For Debian-like Linux -
use `apt-get install libsdl2-dev`.
To build Tetris application for your host platform use To build Tetris application for your host platform use
./build.sh ./build.sh
note that SDL2 must be installed on the host. note that SDL2 must be installed on the host.