~rabbits/nasu

a86e69f2f08d8ec1641c8ed661ead44203de2391 — neauoire 2 years ago 2c1782b
Added install to bui;d
1 files changed, 7 insertions(+), 0 deletions(-)

M build.sh
M build.sh => build.sh +7 -0
@@ 15,6 15,13 @@ cc nasu.c -std=c89 -Os -DNDEBUG -g0 -s -Wall -L/usr/local/lib -lSDL2 -o nasu
# Size
echo "Size: $(du -sk ./nasu)"

# Install
if [ -d "$HOME/bin" ] && [ -e ./nasu ]
then
	cp ./nasu $HOME/bin
    echo "Installed: $HOME/bin" 
fi

# run
./nasu example.chr
# ./nasu example.bmp