mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-21 16:35:08 -05:00
Add SAF to make
This commit is contained in:
parent
87a1ae8559
commit
2e0359129d
11
make.sh
11
make.sh
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user