Improved build script
This commit is contained in:
parent
5eedd05253
commit
01fe355051
9
build.sh
9
build.sh
|
@ -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' ];
|
||||||
|
|
Loading…
Reference in New Issue