mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2024-11-30 14:25:36 +08:00
24 lines
724 B
Bash
24 lines
724 B
Bash
#!/usr/bin/env bash
|
|
|
|
# doto make a check here
|
|
|
|
curl -L "https://github.com/premake/premake-core/releases/download/v5.0.0-beta2/premake-5.0.0-beta2-linux.tar.gz" --ssl-no-revoke --output premake.tar.gz
|
|
tar -xf premake.tar.gz
|
|
|
|
chmod +777 premake5 # do we really need this?
|
|
./premake5 --os=linux generateproto
|
|
|
|
# target other than clang?
|
|
./premake5 --os=linux --cc=clang gmake
|
|
|
|
# going into build dir
|
|
cd GBE_Build
|
|
# you can select individual or all
|
|
|
|
# make config=debug_x32
|
|
make config=debug_x32 && make config=debug_x64
|
|
make config=release_x32 && make config=release_x64
|
|
make config=experimentaldebug_x32 && make config=experimentaldebug_x64
|
|
make config=experimentalrelease_x32 && make config=experimentalrelease_x64
|
|
|
|
cd .. |