mirror of
https://github.com/pret/pokeheartgold.git
synced 2024-11-24 05:40:09 +00:00
Another relative path brokenness
This commit is contained in:
parent
e3103d24f3
commit
12fbf48eb1
2
Makefile
2
Makefile
@ -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
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user