summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 9a05c54fe..1eac920ad 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-
+include $(DEVKITARM)/base_tools
include config.mk
ifeq ($(OS),Windows_NT)
@@ -11,11 +11,11 @@ endif
#### Tools ####
SHELL := /bin/bash -o pipefail
-AS := $(DEVKITARM)/bin/arm-none-eabi-as
+AS := $(PREFIX)as
CC1 := tools/agbcc/bin/agbcc$(EXE)
-CPP := $(DEVKITARM)/bin/arm-none-eabi-cpp
-LD := $(DEVKITARM)/bin/arm-none-eabi-ld
-OBJCOPY := $(DEVKITARM)/bin/arm-none-eabi-objcopy
+CPP := $(PREFIX)cpp
+LD := $(PREFIX)ld
+OBJCOPY := $(PREFIX)objcopy
SHA1SUM := sha1sum -c
GBAGFX := tools/gbagfx/gbagfx$(EXE)
RSFONT := tools/rsfont/rsfont$(EXE)