samples: Fix tetris readme

This commit is contained in:
Ilya Matveev
2017-04-03 20:52:56 +07:00
committed by ilmat192
parent 9a07fd322d
commit a553768067
+2 -8
View File
@@ -15,22 +15,16 @@ To build Tetris application for your host platform use
./build.sh
You also may use gradle to build this sample: `../gradlew build`.
Note that SDL2 must be installed on the host.
You also may use gradle to build this sample: `../gradlew build`. This task builds the sample for all platforms
supported by the host. Note that SDL2 must be installed on the host.
For cross-compilation to iOS (on Mac host) use
TARGET=iphone ./build.sh
or
../gradlew buildIphone
For cross-compilation to Raspberry Pi (on Linux host) use
TARGET=raspberrypi ./build.sh
or
../gradlew buildRaspberry
During build process compilation script creates interoperability bindings to SDL2, using SDL C headers,
and then compiles an application with the produced bindings.