diff --git a/README.md b/README.md index c54afc2..188d6bc 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,8 @@ This is a SDL2 port of [System3 for Win32](http://takeda-toshiya.my.coocan.jp/al ### Emscripten + $ git submodule init + $ git submodule update $ mkdir -p out/wasm $ cd out/wasm $ emcmake cmake -DCMAKE_BUILD_TYPE=MinSizeRel ../../src/ diff --git a/android/README.md b/android/README.md index 6ecdf25..10b22b4 100644 --- a/android/README.md +++ b/android/README.md @@ -10,7 +10,12 @@ Prerequisites: - Android NDK >=r15c ### Using Android Studio -Open this directory as an Android Studio project. +Clone this repository and its submodules: +```sh +git clone --recurse-submodules https://github.com/kichikuou/system3-sdl2.git +``` + +Then open `system3-sdl2/android` directory as an Android Studio project. ### Command line build Configure environment variables and run the `gradlew` script in this folder. @@ -30,7 +35,7 @@ $ANDROID_SDK_ROOT/cmdline-tools/tools/bin/sdkmanager ndk-bundle export ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk-bundle # Check out and build system3-sdl2 -git clone https://github.com/kichikuou/system3-sdl2.git +git clone --recurse-submodules https://github.com/kichikuou/system3-sdl2.git cd system3-sdl2/android ./gradlew build # or ./gradlew installDebug if you have a connected device ```