mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-21 23:08:49 -05:00
Fix script
This commit is contained in:
parent
c3a5d26169
commit
80db48825a
14
make.sh
14
make.sh
@ -21,7 +21,7 @@ COMPILER='g++'
|
|||||||
if [ $# -eq 2 ]; then
|
if [ $# -eq 2 ]; then
|
||||||
COMPILER=$2
|
COMPILER=$2
|
||||||
|
|
||||||
if [ $2 == "tcc" ]; then # you'll probably want to modify this
|
if [ $2 = "tcc" ]; then # you'll probably want to modify this
|
||||||
C_FLAGS="${C_FLAGS} -L/usr/lib/x86_64-linux-gnu/pulseaudio/
|
C_FLAGS="${C_FLAGS} -L/usr/lib/x86_64-linux-gnu/pulseaudio/
|
||||||
-I/home/tastyfish/git/tcc/tcc-0.9.27/include
|
-I/home/tastyfish/git/tcc/tcc-0.9.27/include
|
||||||
-I/usr/lib/gcc/x86_64-linux-gnu/8/include/"
|
-I/usr/lib/gcc/x86_64-linux-gnu/8/include/"
|
||||||
@ -30,7 +30,7 @@ fi
|
|||||||
|
|
||||||
echo "compiling"
|
echo "compiling"
|
||||||
|
|
||||||
if [ $1 == "sdl" ]; then
|
if [ $1 = "sdl" ]; then
|
||||||
# PC SDL build, requires:
|
# PC SDL build, requires:
|
||||||
# - g++
|
# - g++
|
||||||
# - SDL2 (dev) package
|
# - SDL2 (dev) package
|
||||||
@ -41,7 +41,7 @@ if [ $1 == "sdl" ]; then
|
|||||||
echo ${COMMAND}
|
echo ${COMMAND}
|
||||||
|
|
||||||
${COMMAND} && ./anarch -w
|
${COMMAND} && ./anarch -w
|
||||||
elif [ $1 == "terminal" ]; then
|
elif [ $1 = "terminal" ]; then
|
||||||
# PC terminal build, requires:
|
# PC terminal build, requires:
|
||||||
# - g++
|
# - g++
|
||||||
|
|
||||||
@ -50,7 +50,7 @@ elif [ $1 == "terminal" ]; then
|
|||||||
echo ${COMMAND}
|
echo ${COMMAND}
|
||||||
|
|
||||||
${COMMAND} && sudo ./anarch
|
${COMMAND} && sudo ./anarch
|
||||||
elif [ $1 == "csfml" ]; then
|
elif [ $1 = "csfml" ]; then
|
||||||
# csfml build, requires:
|
# csfml build, requires:
|
||||||
# - csfml
|
# - csfml
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ elif [ $1 == "csfml" ]; then
|
|||||||
echo ${COMMAND}
|
echo ${COMMAND}
|
||||||
|
|
||||||
${COMMAND} && ./anarch
|
${COMMAND} && ./anarch
|
||||||
elif [ $1 == "test" ]; then
|
elif [ $1 = "test" ]; then
|
||||||
# test build, requires:
|
# test build, requires:
|
||||||
# - g++
|
# - g++
|
||||||
|
|
||||||
@ -68,7 +68,7 @@ elif [ $1 == "test" ]; then
|
|||||||
echo ${COMMAND}
|
echo ${COMMAND}
|
||||||
|
|
||||||
${COMMAND} && ./anarch
|
${COMMAND} && ./anarch
|
||||||
elif [ $1 == "pokitto" ]; then
|
elif [ $1 = "pokitto" ]; then
|
||||||
# Pokitto build, requires:
|
# Pokitto build, requires:
|
||||||
# - PokittoLib, in this folder create a symlink named "PokittoLib" to the
|
# - PokittoLib, in this folder create a symlink named "PokittoLib" to the
|
||||||
# "Pokitto" subfolder of PokittoLib
|
# "Pokitto" subfolder of PokittoLib
|
||||||
@ -79,7 +79,7 @@ elif [ $1 == "pokitto" ]; then
|
|||||||
|
|
||||||
make
|
make
|
||||||
./PokittoEmu BUILD/firmware.bin
|
./PokittoEmu BUILD/firmware.bin
|
||||||
elif [ $1 == "emscripten" ]; then
|
elif [ $1 = "emscripten" ]; then
|
||||||
# emscripten (browser Javascript) build, requires:
|
# emscripten (browser Javascript) build, requires:
|
||||||
# - emscripten
|
# - emscripten
|
||||||
|
|
||||||
|
2
texts.h
2
texts.h
@ -34,7 +34,7 @@ static const char *SFG_menuItemTexts[] =
|
|||||||
#define SFG_TEXT_SAVED "saved"
|
#define SFG_TEXT_SAVED "saved"
|
||||||
#define SFG_TEXT_LEVEL_COMPLETE "level done"
|
#define SFG_TEXT_LEVEL_COMPLETE "level done"
|
||||||
|
|
||||||
#define SFG_VERSION_STRING "1.02"
|
#define SFG_VERSION_STRING "1.02d"
|
||||||
/**<
|
/**<
|
||||||
Version numbering is following: major.minor for stable releases,
|
Version numbering is following: major.minor for stable releases,
|
||||||
in-development unstable versions have the version of the latest stable +
|
in-development unstable versions have the version of the latest stable +
|
||||||
|
Loading…
Reference in New Issue
Block a user