mirror of
https://github.com/holub/mame
synced 2025-06-09 14:22:41 +03:00
Fix UME build, allow custom target to inject stuff in main makefile
This commit is contained in:
parent
7ae85d216b
commit
73deef44fa
11
makefile
11
makefile
@ -351,10 +351,9 @@ SCRIPTS = scripts/genie.lua \
|
|||||||
scripts/src/bus.lua \
|
scripts/src/bus.lua \
|
||||||
scripts/src/netlist.lua \
|
scripts/src/netlist.lua \
|
||||||
scripts/toolchain.lua \
|
scripts/toolchain.lua \
|
||||||
scripts/target/$(TARGET)/$(SUBTARGET).lua
|
scripts/target/$(TARGET)/$(SUBTARGET).lua \
|
||||||
ifneq (,$(wildcard src/osd/$(OSD)/$(OSD).mak))
|
$(wildcard src/osd/$(OSD)/$(OSD).mak) \
|
||||||
SCRIPTS+= src/osd/$(OSD)/$(OSD).mak
|
$(wildcard src/$(TARGET)/$(SUBTARGET).mak)
|
||||||
endif
|
|
||||||
ifdef REGENIE
|
ifdef REGENIE
|
||||||
SCRIPTS+= regenie
|
SCRIPTS+= regenie
|
||||||
endif
|
endif
|
||||||
@ -721,6 +720,10 @@ ifneq (,$(wildcard src/osd/$(OSD)/$(OSD).mak))
|
|||||||
include src/osd/$(OSD)/$(OSD).mak
|
include src/osd/$(OSD)/$(OSD).mak
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq (,$(wildcard src/$(TARGET)/$(SUBTARGET).mak))
|
||||||
|
include src/$(TARGET)/$(SUBTARGET).mak
|
||||||
|
endif
|
||||||
|
|
||||||
$(GEN_FOLDERS):
|
$(GEN_FOLDERS):
|
||||||
-$(call MKDIR,$@)
|
-$(call MKDIR,$@)
|
||||||
|
|
||||||
|
13
src/ume/ume.mak
Normal file
13
src/ume/ume.mak
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
###########################################################################
|
||||||
|
#
|
||||||
|
# makefile
|
||||||
|
#
|
||||||
|
# Additional makefile for building UME
|
||||||
|
#
|
||||||
|
# Copyright (c) Nicola Salmoria and the MAME Team.
|
||||||
|
# Visit http://mamedev.org for licensing and usage restrictions.
|
||||||
|
#
|
||||||
|
###########################################################################
|
||||||
|
|
||||||
|
GEN_FOLDERS += $(GENDIR)/mame/layout/ $(GENDIR)/mess/layout/
|
||||||
|
LAYOUTS += $(wildcard $(SRC)/mame/layout/*.lay) $(wildcard $(SRC)/mess/layout/*.lay)
|
Loading…
Reference in New Issue
Block a user