Update build script

This commit is contained in:
Miloslav Číž 2020-10-25 18:34:47 +01:00
parent dd70ed47b4
commit f83e079b36
1 changed files with 9 additions and 0 deletions

View File

@ -49,6 +49,15 @@ elif [ $1 == "terminal" ]; then
echo ${COMMAND}
${COMMAND} && sudo ./anarch
elif [ $1 == "csfml" ]; then
# csfml build, requires:
# - csfml
COMMAND="${COMPILER} ${C_FLAGS} main_csfml.c -lcsfml-graphics -lcsfml-window -lcsfml-system -lcsfml-audio"
echo ${COMMAND}
${COMMAND} && ./anarch
elif [ $1 == "test" ]; then
# test build, requires:
# - g++