From cb1fe327926ba25e4c6971f920951b0b2acce550 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Sun, 30 Apr 2023 11:41:00 -0700 Subject: [PATCH] Improved build file --- build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build.sh b/build.sh index ffb3960..e3aa2b4 100755 --- a/build.sh +++ b/build.sh @@ -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