Add support for building agbcc without devkitPro

This commit is contained in:
luckytyphlosion 2020-11-25 09:30:16 -05:00 committed by huderlem
parent 74e171579e
commit 293e28b85d
2 changed files with 13 additions and 0 deletions

View File

@ -1,4 +1,10 @@
ifneq (,$(wildcard $(DEVKITARM)/base_tools))
include $(DEVKITARM)/base_tools
else
PREFIX := arm-none-eabi-
export AR := $(PREFIX)ar
export AS := $(PREFIX)as
endif
SHELL := /bin/bash -o pipefail

View File

@ -1,4 +1,11 @@
ifneq (,$(wildcard $(DEVKITARM)/base_tools))
include $(DEVKITARM)/base_tools
else
PREFIX := arm-none-eabi-
export AR := $(PREFIX)ar
export AS := $(PREFIX)as
endif
CC1 = ../old_agbcc
libgcc.a: libgcc1.a libgcc2.a fp-bit.o dp-bit.o