Small clean-up

This commit is contained in:
Jaby 2022-11-30 02:47:18 +01:00 committed by Jaby
parent 53882edbd6
commit a8a0b38b85
1 changed files with 0 additions and 2 deletions

View File

@ -8,11 +8,9 @@ $(TARGET).elf: $(OBJS) $(JABY_ENGINE_LIB_DIR)/lib$(JABY_ENGINE_LIB_NAME).a
#Strips the psexe
$(TARGET).psexe: $(TARGET).elf
#mipsel-linux-gnu-objcopy -R .main_area -O binary bin/PSX-release/JabyAdventure.elf bin/PSX-release/JabyAdventure.psexe
$(PREFIX)-objcopy $(addprefix -R , $(OVERLAYSECTION)) -O binary $< $@
$(foreach ovl, $(OVERLAYSECTION), $(OUTPUT_DIR)/Overlay$(ovl)): $(TARGET).elf
#mipsel-linux-gnu-objcopy -j bin/PSX-release/Overlay.main_area -O binary bin/PSX-release/JabyAdventure.elf bin/PSX-release/Overlaybin/PSX-release/Overlay.main_area
$(PREFIX)-objcopy -j $(suffix $@) -O binary $< $@
#Rules section for default compilation and linking