mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-21 08:25:05 -05:00
Update build script
This commit is contained in:
parent
dd70ed47b4
commit
f83e079b36
9
make.sh
9
make.sh
@ -49,6 +49,15 @@ elif [ $1 == "terminal" ]; then
|
|||||||
echo ${COMMAND}
|
echo ${COMMAND}
|
||||||
|
|
||||||
${COMMAND} && sudo ./anarch
|
${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
|
elif [ $1 == "test" ]; then
|
||||||
# test build, requires:
|
# test build, requires:
|
||||||
# - g++
|
# - g++
|
||||||
|
Loading…
Reference in New Issue
Block a user