Fixed dead link + convenience additions

This commit is contained in:
Julian Laubstein 2018-12-13 14:31:11 +01:00
parent fb80627c94
commit 9fe10cb4d7
2 changed files with 5 additions and 2 deletions

View file

@ -14,7 +14,7 @@ A crate that helps you make GBA games
This crate requires a fair amount of special setup. All of the steps are
detailed for you [in the 0th chapter of the
book](https://rust-console.github.io/gba/ch00/index.html) that goes with this
book](https://rust-console.github.io/gba/00-introduction/03-development-setup.html) that goes with this
crate.
If you've done the global setup once before and just want to get a new project

View file

@ -33,9 +33,12 @@ rm -rf $APP_NAME/src/main.rs
wget https://raw.githubusercontent.com/rust-console/gba/master/examples/hello_world.rs
mv hello_world.rs $APP_NAME/src/main.rs
# precreate target directory for crt0.o file
mkdir $APP_NAME/target
# setup make file
echo -e "CRT_FILE=$(echo $CRT_LOCAL)
CRT_OUTPUT=crt0.o
CRT_OUTPUT=target/crt0.o
PROJECT_NAME=$(echo $APP_NAME)
TARGET=$(echo $TARGET)
THUMB_TARGET=$(echo $TARGET).json