summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-11-09 17:07:22 -0500
committerMelody <melody@pallet.town>2018-11-13 06:46:50 -0500
commitd387e7e0e0564752d8ce1cc74de16298df6e7a76 (patch)
tree9d221b90371ce644bff8a642c78cc27ae2b1a046
parentbe4624024c16293356c3e10f61ea301d5c86d9ed (diff)
Fixes includes
-rw-r--r--Makefile3
-rwxr-xr-x[-rw-r--r--]build_tools.sh0
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0b83cb5c5..e7b4d902e 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ ASFLAGS := -mcpu=arm7tdmi
CC1 := tools/agbcc/bin/agbcc
override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O2 -fhex-asm
-CPPFLAGS := -I tools/agbcc/include -iquote include -nostdinc -undef
+CPPFLAGS := -I tools/agbcc -I tools/agbcc/include -iquote include -nostdinc -undef
LDFLAGS = -Map ../../$(MAP)
@@ -174,4 +174,3 @@ $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS)
$(ROM): $(ELF)
$(OBJCOPY) -O binary $< $@
$(FIX) $@ -p -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent
-
diff --git a/build_tools.sh b/build_tools.sh
index f384c2d99..f384c2d99 100644..100755
--- a/build_tools.sh
+++ b/build_tools.sh