Allow for psp-fixup-imports to be disabled

This commit is contained in:
Sam Hegarty
2011-08-13 11:36:29 +12:00
parent 62459981b4
commit b9c1b53f0e

View File

@@ -69,10 +69,14 @@ endif
FINAL_TARGET = $(TARGET).prx
all: $(FINAL_TARGET)
ifeq ($(NO_FIXUP_IMPORTS), 1)
$(TARGET).elf: $(OBJS)
$(LINK.c) $^ $(LIBS) -o $@
else
$(TARGET).elf: $(OBJS)
$(LINK.c) $^ $(LIBS) -o $@
$(FIXUP) $@
endif
%.prx: %.elf
psp-prxgen $< $@