mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-26 05:16:18 +00:00
fix issues executing makefile in a bash script
This commit is contained in:
parent
4bb7054f8c
commit
69087727e9
@ -9,19 +9,20 @@ LIBCDVD_IRX_DIR = $(LIBCDVD_DIR)/lib
|
||||
#IRX modules
|
||||
# IRX modules - modules have to be in IRX_DIR
|
||||
IRX_FILES += freemtap.irx freepad.irx freesio2.irx iomanX.irx fileXio.irx mcman.irx mcserv.irx usbd.irx usbhdfsd.irx
|
||||
IRX_FILES += freesd.irx audsrv.irx poweroff.irx cdvd.irx
|
||||
IRX_C_FILES = $(IRX_FILES:.irx=_irx.c)
|
||||
IRX_FILES += freesd.irx audsrv.irx poweroff.irx
|
||||
IRX_C_FILES = $(IRX_FILES:.irx=_irx.c) cdvd_irx.c
|
||||
|
||||
all: cdvd irxs
|
||||
|
||||
# Specific file name and output per IRX Module
|
||||
%.irx:
|
||||
if [[ "$(@)" == "cdvd.irx" ]]; then \
|
||||
$(MAKE) -C $(LIBCDVD_DIR); \
|
||||
$(EE_BIN2C) $(LIBCDVD_IRX_DIR)/$@ $(@:.irx=_irx.c) $(@:.irx=_irx); \
|
||||
else \
|
||||
$(EE_BIN2C) $(IRX_DIR)/$@ $(@:.irx=_irx.c) $(@:.irx=_irx); \
|
||||
fi
|
||||
$(EE_BIN2C) $(IRX_DIR)/$@ $(@:.irx=_irx.c) $(@:.irx=_irx)
|
||||
|
||||
all: $(IRX_FILES)
|
||||
irxs: $(IRX_FILES)
|
||||
|
||||
cdvd:
|
||||
$(MAKE) -C $(LIBCDVD_DIR)
|
||||
$(EE_BIN2C) $(LIBCDVD_IRX_DIR)/$@.irx $@_irx.c $@_irx
|
||||
|
||||
clean:
|
||||
rm -f $(IRX_C_FILES)
|
||||
|
Loading…
x
Reference in New Issue
Block a user