mirror of https://github.com/bsnes-emu/bsnes.git
use the prebuilt roms
This commit is contained in:
parent
96f6839434
commit
d047897462
|
@ -147,14 +147,14 @@ CFLAGS += -Wall -D__LIBRETRO__ $(fpic) $(INCFLAGS) -std=gnu11 -D_GNU_SOURCE -D
|
|||
|
||||
all: $(TARGET)
|
||||
|
||||
$(CORE_DIR)/libretro/%_boot.c: $(CORE_DIR)/build/bin/BootROMs/%_boot.bin
|
||||
$(CORE_DIR)/libretro/%_boot.c: $(CORE_DIR)/BootROMs/prebuilt/%_boot.bin
|
||||
echo "/* AUTO-GENERATED */" > $@
|
||||
echo "const unsigned char $(notdir $(@:%.c=%))[] = {" >> $@
|
||||
hexdump -v -e '/1 "0x%02x, "' $< >> $@
|
||||
echo "};" >> $@
|
||||
echo "const unsigned $(notdir $(@:%.c=%))_length = sizeof($(notdir $(@:%.c=%)));" >> $@
|
||||
|
||||
$(CORE_DIR)/build/bin/BootROMs/%_boot.bin:
|
||||
$(CORE_DIR)/BootROMs/prebuilt/%_boot.bin:
|
||||
$(MAKE) -C $(CORE_DIR) $(patsubst $(CORE_DIR)/%,%,$@)
|
||||
|
||||
$(TARGET): $(OBJECTS)
|
||||
|
|
Loading…
Reference in New Issue