mirror of https://github.com/sm64pc/sm64pc.git
Restore copying RPC_LIBS to BUILD_DIR (#568)
The Makefile changes from 578536e
removed `$(BUILD_DIR)/$(RPC_LIBS)` from the `$(EXE)` target. This meant it was no longer copied to the build dir, so at runtime the .exe couldn't find it.
This restores that part of the `$(EXE)` rule if `RPC_LIBS` is non-empty.
Fixes #558.
This commit is contained in:
parent
6f7d974a73
commit
20bb444562
2
Makefile
2
Makefile
|
@ -1030,7 +1030,7 @@ $(BUILD_DIR)/%.o: %.s
|
|||
|
||||
|
||||
|
||||
$(EXE): $(O_FILES) $(MIO0_FILES:.mio0=.o) $(SOUND_OBJ_FILES) $(ULTRA_O_FILES) $(GODDARD_O_FILES)
|
||||
$(EXE): $(O_FILES) $(MIO0_FILES:.mio0=.o) $(SOUND_OBJ_FILES) $(ULTRA_O_FILES) $(GODDARD_O_FILES) $(if $(RPC_LIBS),$(BUILD_DIR)/$(RPC_LIBS),)
|
||||
$(LD) -L $(BUILD_DIR) -o $@ $(O_FILES) $(SOUND_OBJ_FILES) $(ULTRA_O_FILES) $(GODDARD_O_FILES) $(LDFLAGS)
|
||||
|
||||
.PHONY: all clean distclean default diff test load libultra res
|
||||
|
|
Loading…
Reference in New Issue