Update Makefile again

This commit is contained in:
jaby 2022-08-24 21:06:22 +02:00
parent 87e84976c4
commit f2f8e8485b
2 changed files with 4 additions and 4 deletions

View File

@ -4,4 +4,7 @@ $(TARGET).elf: $(OBJS)
#Strips the psexe
$(TARGET).psexe: $(TARGET).elf
$(PREFIX)-objcopy $(addprefix -R , $(OVERLAYSECTION)) -O binary $< $@
$(PREFIX)-objcopy $(addprefix -R , $(OVERLAYSECTION)) -O binary $< $@
#Rules section for default compilation and linking
all: $(TARGET).psexe $(foreach ovl, $(OVERLAYSECTION), $(OUTPUT_DIR)Overlay$(ovl))

View File

@ -10,9 +10,6 @@ LIBS = -L$(JABY_ENGINE_DIR)/lib/PSX-$(BUILD_PROFILE) -lJabyEngine
include $(JABY_ENGINE_DIR)/lib/Makefile
include $(JABY_ENGINE_DIR)/lib/PSEXETarget.mk
#Rules section for default compilation and linking
all: $(TARGET).psexe
clean:
rm -fr $(OUTPUT_DIR)
rm -fr ../iso/*.bin