Use $(MAKE) instead of make

This commit is contained in:
Lior Halphon 2017-10-13 00:14:32 +03:00
parent bbd3b7e550
commit 57f50edaa2
2 changed files with 2 additions and 2 deletions

View File

@ -281,7 +281,7 @@ $(BIN)/BootROMs/%.bin: BootROMs/%.asm
# Libretro Core (uses its own build system)
libretro:
make -C libretro
$(MAKE) -C libretro
# Clean
clean:

View File

@ -143,7 +143,7 @@ $(CORE_DIR)/libretro/%_boot.c: $(CORE_DIR)/build/bin/BootROMs/%_boot.bin
echo "const unsigned $(notdir $(@:%.c=%))_length = sizeof($(notdir $(@:%.c=%)));" >> $@
$(CORE_DIR)/build/bin/BootROMs/%_boot.bin:
make -C $(CORE_DIR) $(patsubst $(CORE_DIR)/%,%,$@)
$(MAKE) -C $(CORE_DIR) $(patsubst $(CORE_DIR)/%,%,$@)
$(TARGET): $(OBJECTS)
-@$(MKDIR) -p $(dir $@)