mirror of
https://github.com/libretro/RetroArch
synced 2025-03-14 01:19:01 +00:00
Add "compile" make target
== DETAILS As part of the build system overhaul, I need to be able to compile without linking; this adds a "compile" target so that I can do that. Currently only implemented on the main Makefile and Wii U.
This commit is contained in:
parent
53140172ab
commit
171e222ebe
2
Makefile
2
Makefile
@ -219,6 +219,8 @@ $(OBJDIR)/%.o: %.rc $(HEADERS)
|
||||
@$(if $(Q), $(shell echo echo WINDRES $<),)
|
||||
$(Q)$(WINDRES) -o $@ $<
|
||||
|
||||
compile: $(OBJ)
|
||||
|
||||
install: $(TARGET)
|
||||
rm -f $(OBJDIR)/git_version.o
|
||||
mkdir -p $(DESTDIR)$(BIN_DIR) 2>/dev/null || /bin/true
|
||||
|
@ -316,6 +316,8 @@ $(BUILD_DIR)/$(TARGET).rpx: $(BUILD_DIR)/$(TARGET).rpx.elf $(ELF2RPL) .$(TARGET)
|
||||
@touch .$(TARGET).rpx.last
|
||||
$(Q)-$(ELF2RPL) $< $@
|
||||
|
||||
compile: $(OBJ)
|
||||
|
||||
clean:
|
||||
rm -f $(OBJ) $(RPX_OBJ) $(HBL_ELF_OBJ) $(TARGET).elf $(TARGET).rpx.elf $(TARGET).rpx
|
||||
rm -f $(BUILD_DIR)/$(TARGET).elf $(BUILD_DIR)/$(TARGET).rpx.elf $(BUILD_DIR)/$(TARGET).rpx
|
||||
|
Loading…
x
Reference in New Issue
Block a user