Update Makefile

This commit is contained in:
WhenGryphonsFly 2023-02-22 21:42:41 -06:00
parent b3c5e57bf8
commit 92e2fc16d3

View File

@ -1,4 +1,14 @@
include $(DEVKITARM)/base_tools
TOOLCHAIN := $(DEVKITARM)
ifneq (,$(TOOLCHAIN))
ifneq ($(wildcard $(TOOLCHAIN)/bin),)
export PATH := $(TOOLCHAIN)/bin:$(PATH)
endif
endif
PREFIX := arm-none-eabi-
OBJCOPY := $(PREFIX)objcopy
AS := $(PREFIX)as
export CPP := $(PREFIX)cpp
export LD := $(PREFIX)ld