Add SAF to make

This commit is contained in:
Miloslav Ciz 2021-10-13 19:27:21 -05:00
parent 87a1ae8559
commit 2e0359129d
1 changed files with 11 additions and 0 deletions

11
make.sh
View File

@ -40,6 +40,17 @@ if [ $1 = "sdl" ]; then
echo ${COMMAND} echo ${COMMAND}
${COMMAND}
elif [ $1 = "saf" ]; then
# SAF build using SDL, requires:
# - saf.h
# - SDL2 (dev) package
SDL_FLAGS=`sdl2-config --libs --static-libs`
COMMAND="${COMPILER} ${C_FLAGS} main_saf.c -I/usr/local/include ${SDL_FLAGS}"
echo ${COMMAND}
${COMMAND} ${COMMAND}
elif [ $1 = "terminal" ]; then elif [ $1 = "terminal" ]; then
# PC terminal build, requires: # PC terminal build, requires: