mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +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/netlist.lua \
|
||||
scripts/toolchain.lua \
|
||||
scripts/target/$(TARGET)/$(SUBTARGET).lua
|
||||
ifneq (,$(wildcard src/osd/$(OSD)/$(OSD).mak))
|
||||
SCRIPTS+= src/osd/$(OSD)/$(OSD).mak
|
||||
endif
|
||||
scripts/target/$(TARGET)/$(SUBTARGET).lua \
|
||||
$(wildcard src/osd/$(OSD)/$(OSD).mak) \
|
||||
$(wildcard src/$(TARGET)/$(SUBTARGET).mak)
|
||||
ifdef REGENIE
|
||||
SCRIPTS+= regenie
|
||||
endif
|
||||
@ -721,6 +720,10 @@ ifneq (,$(wildcard src/osd/$(OSD)/$(OSD).mak))
|
||||
include src/osd/$(OSD)/$(OSD).mak
|
||||
endif
|
||||
|
||||
ifneq (,$(wildcard src/$(TARGET)/$(SUBTARGET).mak))
|
||||
include src/$(TARGET)/$(SUBTARGET).mak
|
||||
endif
|
||||
|
||||
$(GEN_FOLDERS):
|
||||
-$(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