diff --git a/make.sh b/make.sh index 8ad55ff..940624b 100755 --- a/make.sh +++ b/make.sh @@ -49,6 +49,15 @@ elif [ $1 == "terminal" ]; then echo ${COMMAND} ${COMMAND} && sudo ./anarch +elif [ $1 == "test" ]; then + # test build, requires: + # - g++ + + COMMAND="${COMPILER} ${C_FLAGS} main_test.c" + + echo ${COMMAND} + + ${COMMAND} && ./anarch elif [ $1 == "pokitto" ]; then # Pokitto build, requires: # - PokittoLib, in this folder create a symlink named "PokittoLib" to the