Another relative path brokenness

This commit is contained in:
PikalaxALT 2021-09-17 19:35:13 -04:00
parent e3103d24f3
commit 12fbf48eb1
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ MAKEROM_FLAGS := $(DEFINES)
$(NEF): libsyscall
libsyscall:
$(MAKE) -C lib/syscall all install INSTALL_PREFIX=$(WORK_DIR)/$(BUILD_DIR) GAME_CODE=$(GAME_CODE)
$(MAKE) -C lib/syscall all install INSTALL_PREFIX=$(abspath $(WORK_DIR)/$(BUILD_DIR)) GAME_CODE=$(GAME_CODE)
SBIN_LZ := $(SBIN)_LZ

View File

@ -138,7 +138,7 @@ ifeq ($(PROC),arm946e)
endif
$(NEF): $(LCF) $(ALL_OBJS)
cd $(BUILD_DIR) && $(WINE) $(MWLD) $(MWLDFLAGS) $(LIBS) -o $(BACK_REL)/$(NEF) $(LCF:$(BUILD_DIR)/%=%) $(ALL_OBJS:$(BUILD_DIR)/%=%)
cd $(BUILD_DIR) && LM_LICENSE_FILE=$(BACK_REL)/$(LM_LICENSE_FILE) $(WINE) $(MWLD) $(MWLDFLAGS) $(LIBS) -o $(BACK_REL)/$(NEF) $(LCF:$(BUILD_DIR)/%=%) $(ALL_OBJS:$(BUILD_DIR)/%=%)
$(SBIN): build/%.sbin: build/%.nef
ifeq ($(COMPARE),1)

View File

@ -20,7 +20,7 @@ all: $(LIB)
ASM_SRCS := asm/_secure_$(GAME_CODE).s
$(LIB): $(ALL_OBJS)
cd $(BUILD_DIR) && $(WINE) $(MWLD) $(MWLDFLAGS) -o $(BACK_REL)/$(LIB) $(ALL_OBJS:$(BUILD_DIR)/%=%)
cd $(BUILD_DIR) && LM_LICENSE_FILE=$(BACK_REL)/$(LM_LICENSE_FILE) $(WINE) $(MWLD) $(MWLDFLAGS) -o $(BACK_REL)/$(LIB) $(ALL_OBJS:$(BUILD_DIR)/%=%)
install: all
$(shell mkdir -p $(INSTALL_LIBDIR))