Update Makefile again
This commit is contained in:
parent
87e84976c4
commit
f2f8e8485b
|
@ -4,4 +4,7 @@ $(TARGET).elf: $(OBJS)
|
||||||
|
|
||||||
#Strips the psexe
|
#Strips the psexe
|
||||||
$(TARGET).psexe: $(TARGET).elf
|
$(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))
|
|
@ -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/Makefile
|
||||||
include $(JABY_ENGINE_DIR)/lib/PSEXETarget.mk
|
include $(JABY_ENGINE_DIR)/lib/PSEXETarget.mk
|
||||||
|
|
||||||
#Rules section for default compilation and linking
|
|
||||||
all: $(TARGET).psexe
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -fr $(OUTPUT_DIR)
|
rm -fr $(OUTPUT_DIR)
|
||||||
rm -fr ../iso/*.bin
|
rm -fr ../iso/*.bin
|
||||||
|
|
Loading…
Reference in New Issue