summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2019-10-08 22:46:32 +0100
committerSatoMew <SatoMew@users.noreply.github.com>2019-10-08 22:46:32 +0100
commit2c254082de042dde46cee9d2da2d9bb1bc340905 (patch)
treeaf99bcac2c6fece9523b12dbabe4128ec26f6fc9 /tools
parent78558b07b0983b6b8b06085933fdf66b801658e9 (diff)
parent2a7205dec677c98d087cb8ba191370de464c8bf0 (diff)
Merge branch 'master' of https://github.com/pret/pokefirered
Diffstat (limited to 'tools')
-rwxr-xr-xtools/asmdiff.sh7
-rw-r--r--tools/br_ips/Makefile5
2 files changed, 4 insertions, 8 deletions
diff --git a/tools/asmdiff.sh b/tools/asmdiff.sh
deleted file mode 100755
index a8114dc4f..000000000
--- a/tools/asmdiff.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-
-OBJDUMP="./tools/binutils/bin/arm-none-eabi-objdump -D -bbinary -marmv4t -Mforce-thumb"
-OPTIONS="--start-address=$1 --stop-address=$2"
-$OBJDUMP $OPTIONS baserom.gba > baserom.dump
-$OBJDUMP $OPTIONS pokefirered.gba > pokefirered.dump
-diff -u baserom.dump pokefirered.dump
diff --git a/tools/br_ips/Makefile b/tools/br_ips/Makefile
index e80e2576b..8b6ad51bf 100644
--- a/tools/br_ips/Makefile
+++ b/tools/br_ips/Makefile
@@ -1,7 +1,10 @@
CC := gcc
-CFLAGS := -O3
+CFLAGS := -O3 -std=c99
+
+.PHONY: all
all: br_ips ips_patch
+ @:
clean:
rm -f br_ips ips_patch br_ips.exe ips_patch.exe