Improved build script

This commit is contained in:
Devine Lu Linvega 2023-06-08 10:41:38 -07:00
parent 5eedd05253
commit 01fe355051
1 changed files with 4 additions and 5 deletions

View File

@ -28,12 +28,11 @@ cc ${RELEASE_FLAGS} src/uxnasm.c -o bin/uxnasm
if [ "${1}" = '--debug' ]; if [ "${1}" = '--debug' ];
then then
gcc ${C_FLAGS} ${LD_FLAGS} ${DEBUG_FLAGS} ${EMU_INC} cc ${C_FLAGS} ${LD_FLAGS} ${DEBUG_FLAGS} ${EMU_INC}
gcc ${C_FLAGS} ${LD_FLAGS} ${DEBUG_FLAGS} ${CLI_INC} cc ${C_FLAGS} ${LD_FLAGS} ${DEBUG_FLAGS} ${CLI_INC}
else else
gcc ${C_FLAGS} ${LD_FLAGS} ${RELEASE_FLAGS} ${EMU_INC} cc ${C_FLAGS} ${LD_FLAGS} ${RELEASE_FLAGS} ${EMU_INC}
gcc ${C_FLAGS} ${LD_FLAGS} ${RELEASE_FLAGS} ${CLI_INC} cc ${C_FLAGS} ${LD_FLAGS} ${RELEASE_FLAGS} ${CLI_INC}
fi fi
if [ "${1}" = '--install' ]; if [ "${1}" = '--install' ];