Use $(MAKE) instead of make
This commit is contained in:
parent
bbd3b7e550
commit
57f50edaa2
2
Makefile
2
Makefile
@ -281,7 +281,7 @@ $(BIN)/BootROMs/%.bin: BootROMs/%.asm
|
|||||||
|
|
||||||
# Libretro Core (uses its own build system)
|
# Libretro Core (uses its own build system)
|
||||||
libretro:
|
libretro:
|
||||||
make -C libretro
|
$(MAKE) -C libretro
|
||||||
|
|
||||||
# Clean
|
# Clean
|
||||||
clean:
|
clean:
|
||||||
|
@ -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=%)));" >> $@
|
echo "const unsigned $(notdir $(@:%.c=%))_length = sizeof($(notdir $(@:%.c=%)));" >> $@
|
||||||
|
|
||||||
$(CORE_DIR)/build/bin/BootROMs/%_boot.bin:
|
$(CORE_DIR)/build/bin/BootROMs/%_boot.bin:
|
||||||
make -C $(CORE_DIR) $(patsubst $(CORE_DIR)/%,%,$@)
|
$(MAKE) -C $(CORE_DIR) $(patsubst $(CORE_DIR)/%,%,$@)
|
||||||
|
|
||||||
$(TARGET): $(OBJECTS)
|
$(TARGET): $(OBJECTS)
|
||||||
-@$(MKDIR) -p $(dir $@)
|
-@$(MKDIR) -p $(dir $@)
|
||||||
|
Loading…
Reference in New Issue
Block a user