machine.lua: compile myb3k_kbd only when needed (nw)

This commit is contained in:
Ivan Vangelista 2018-01-09 20:46:11 +01:00
parent 4daec4e0fd
commit 31ffaa7819

View File

@ -23,8 +23,6 @@ files {
MAME_DIR .. "src/devices/machine/laserdsc.h",
MAME_DIR .. "src/devices/machine/latch.cpp",
MAME_DIR .. "src/devices/machine/latch.h",
MAME_DIR .. "src/devices/machine/myb3k_kbd.cpp",
MAME_DIR .. "src/devices/machine/myb3k_kbd.h",
MAME_DIR .. "src/devices/machine/nvram.cpp",
MAME_DIR .. "src/devices/machine/nvram.h",
MAME_DIR .. "src/devices/machine/ram.cpp",
@ -1991,6 +1989,18 @@ if (MACHINES["MSM6253"]~=null) then
}
end
---------------------------------------------------
--
--@src/devices/machine/myb3k_kbd.h,MACHINES["MYB3K_KEYBOARD"] = true
---------------------------------------------------
if (MACHINES["MYB3K_KEYBOARD"]~=null) then
files {
MAME_DIR .. "src/devices/machine/myb3k_kbd.cpp",
MAME_DIR .. "src/devices/machine/myb3k_kbd.h",
}
end
---------------------------------------------------
--
--@src/devices/machine/ncr539x.h,MACHINES["NCR539x"] = true