Improved build file

This commit is contained in:
Devine Lu Linvega 2023-04-30 11:41:00 -07:00
parent 55178e8347
commit cb1fe32792
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,13 @@ else
gcc ${C_FLAGS} ${LD_FLAGS} ${DEBUG_FLAGS} ${CLI_INC}
fi
if [ "${1}" = '--install' ];
then
gcc ${C_FLAGS} ${LD_FLAGS} ${RELEASE_FLAGS} ${EMU_INC}
gcc ${C_FLAGS} ${LD_FLAGS} ${RELEASE_FLAGS} ${CLI_INC}
cp bin/uxn11 bin/uxnasm bin/uxncli $HOME/bin/
fi
bin/uxnasm etc/polycat.tal bin/polycat.rom
bin/uxn11 bin/polycat.rom