summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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