mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-30 09:43:02 +00:00
Tidied installation commands
This commit is contained in:
parent
d32d869abf
commit
969c2e3516
1 changed files with 2 additions and 4 deletions
6
build.sh
6
build.sh
|
@ -45,12 +45,10 @@ cc ${CFLAGS} src/uxnasm.c -o bin/uxnasm
|
||||||
cc ${CFLAGS} ${CORE} src/devices/ppu.c src/devices/apu.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu
|
cc ${CFLAGS} ${CORE} src/devices/ppu.c src/devices/apu.c src/uxnemu.c ${UXNEMU_LDFLAGS} -o bin/uxnemu
|
||||||
cc ${CFLAGS} ${CORE} src/uxncli.c -o bin/uxncli
|
cc ${CFLAGS} ${CORE} src/uxncli.c -o bin/uxncli
|
||||||
|
|
||||||
if [ -d "$HOME/bin" ] && [ -e ./bin/uxnemu ] && [ -e ./bin/uxnasm ]
|
if [ -d "$HOME/bin" ]
|
||||||
then
|
then
|
||||||
echo "Installing in $HOME/bin"
|
echo "Installing in $HOME/bin"
|
||||||
cp ./bin/uxnemu $HOME/bin
|
cp bin/uxnemu bin/uxnasm bin/uxncli $HOME/bin/
|
||||||
cp ./bin/uxnasm $HOME/bin
|
|
||||||
cp ./bin/uxncli $HOME/bin
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Assembling.."
|
echo "Assembling.."
|
||||||
|
|
Loading…
Reference in a new issue