From 4323065db554adf0b1e65f451f711609755430a2 Mon Sep 17 00:00:00 2001 From: igotti-google Date: Mon, 27 Mar 2017 11:02:17 +0300 Subject: [PATCH] Better Tetris build docs --- samples/tetris/README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/samples/tetris/README.md b/samples/tetris/README.md index f870f2f764a..f91bb1be017 100644 --- a/samples/tetris/README.md +++ b/samples/tetris/README.md @@ -4,7 +4,13 @@ This example shows implementation of simple Tetris game using SDL (Simple DirectMedia Layer) library for rendering. SDL allows easy development 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 ./build.sh note that SDL2 must be installed on the host.