diff --git a/etc/base.mk b/etc/base.mk index 87ca26d..b6be30b 100644 --- a/etc/base.mk +++ b/etc/base.mk @@ -117,9 +117,9 @@ CC.DARWIN.GBA := /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc CC.LINUX.GBA := /opt/devkitpro/devkitARM/bin/arm-none-eabi-gcc ifeq ($(strip $(TC)),llvm) -AS.DARWIN := /usr/local/opt/llvm/bin/llvm-as # brew LLVM +AS.DARWIN := sh -c 'cat' # dummy else -AS.DARWIN := /usr/bin/as # Xcode +AS.DARWIN := sh -c 'cat' endif AS.LINUX := /usr/bin/as AS.DARWIN.WIN32 := /usr/local/bin/i686-w64-mingw32-as diff --git a/etc/targets.mk b/etc/targets.mk index 02de5fb..d687257 100644 --- a/etc/targets.mk +++ b/etc/targets.mk @@ -169,7 +169,10 @@ ubsan: $(TARGETS) endif # $(NO_TES) # Define object files -OFILES := $(CFILES:.c=.c.o) $(CPPFILES:.cpp=.cpp.o) $(SFILES:.s=.s.o) +OFILES := $(CFILES:.c=.c.o) $(CPPFILES:.cpp=.cpp.o) +ifneq ($(strip $(TP)),Darwin) +OFILES += $(SFILES:.s=.s.o) +endif TES_OFILES := $(TES_CFILES:.c=.c.o) $(TES_CPPFILES:.cpp=.cpp.o) # Object file builds