Add release option in the Makefile.ps2

This commit is contained in:
Francisco Javier Trujillo Mata 2018-12-26 13:40:20 +01:00
parent 38397370e6
commit 0224bf22b2

View File

@ -1,5 +1,5 @@
BUILD_PRX = 0
DEBUG = 1
DEBUG = 0
HAVE_KERNEL_PRX = 0
HAVE_LOGGER = 0
HAVE_FILE_LOGGER = 1
@ -13,6 +13,7 @@ EE_BIN2O = bin2o
IRX_DIR = $(PS2SDK)/iop/irx
TARGET = retroarchps2.elf
TARGET_RELEASE = retroarchps2-release.elf
ifeq ($(DEBUG), 1)
OPTIMIZE_LV := -O0 -g
@ -94,6 +95,9 @@ run:
debug: clean prepare all run
release: clean all
ps2-packer $(EE_BIN) $(TARGET_RELEASE)
#Specific file name and output per IRX Module
$(EE_IRX_OBJ):
$(EE_BIN2O) $(EE_GPVAL) $(IRX_DIR)/$(@:.o=.irx) $@ $(@:.o=_irx)