0
0
Fork 0
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:
Andrew Alderwick 2021-08-19 06:08:09 +01:00
parent d32d869abf
commit 969c2e3516

View file

@ -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.."