From edf3877f4dd12f7e046800aeabd2dd07e04051af Mon Sep 17 00:00:00 2001 From: tehzz Date: Thu, 29 Dec 2022 22:32:08 -0500 Subject: [PATCH] use builddir variable --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fd5eb6d..d6510c5 100644 --- a/Makefile +++ b/Makefile @@ -245,7 +245,7 @@ build/src/libultra/io/gbpakreadwrite.c.o: CC := $(CC_OLD) build/src/libultra/io/gbpakselectbank.c.o: CC := $(CC_OLD) # run ASM-processor on non-libultra source files -DECOMP_C_OBJS := $(filter %.c.o,$(filter-out build/src/libultra%,$(O_FILES))) +DECOMP_C_OBJS := $(filter %.c.o,$(filter-out $(BUILD_DIR)/src/libultra%,$(O_FILES))) $(DECOMP_C_OBJS): CC := $(ASMPROC) $(ASMPROC_FLAGS) $(CC) -- $(AS) $(ASFLAGS) -- # turn off syntax checking errors for libultra