Makefile overhaul

Addition of a build directory, and more flexible to allow for possible blue build.
This commit is contained in:
nullableVoidPtr
2018-10-16 17:11:54 +08:00
committed by void
parent 97ab00ba21
commit 9e5147a9ad
11 changed files with 1301 additions and 1294 deletions

7
asmdiff.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
OBJDUMP="$DEVKITARM/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb"
OPTIONS="--start-address=$(($1)) --stop-address=$(($1 + $2))"
$OBJDUMP $OPTIONS baserom.gba > baserom.dump
$OBJDUMP $OPTIONS pmd_red.gba > pmd_red.dump
diff -u baserom.dump pmd_red.dump | less