mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
Generate project files into OSD subdir to facilitate building multiple OSDs
This commit is contained in:
parent
78eedb8aba
commit
eca145893d
2 changed files with 4 additions and 4 deletions
4
makefile
4
makefile
|
@ -340,9 +340,9 @@ GENIE=3rdparty/genie/bin/$(OS)/genie
|
|||
SILENT?=@
|
||||
|
||||
ifeq ($(TARGET),$(SUBTARGET))
|
||||
SUBDIR = $(TARGET)
|
||||
SUBDIR = $(OSD)/$(TARGET)
|
||||
else
|
||||
SUBDIR = $(TARGET)$(SUBTARGET)
|
||||
SUBDIR = $(OSD)/$(TARGET)$(SUBTARGET)
|
||||
endif
|
||||
|
||||
all: $(GENIE) $(TARGETOS)_$(ARCHITECTURE)
|
||||
|
|
|
@ -583,9 +583,9 @@ end
|
|||
|
||||
local subdir
|
||||
if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then
|
||||
subdir = _OPTIONS["target"]
|
||||
subdir = _OPTIONS["osd"] .. "/" .. _OPTIONS["target"]
|
||||
else
|
||||
subdir = _OPTIONS["target"] .. _OPTIONS["subtarget"]
|
||||
subdir = _OPTIONS["osd"] .. "/" .. _OPTIONS["target"] .. _OPTIONS["subtarget"]
|
||||
end
|
||||
|
||||
if not toolchain(MAME_BUILD_DIR, subdir) then
|
||||
|
|
Loading…
Reference in a new issue