diff options
author | 2016-03-02 14:14:47 -0500 | |
---|---|---|
committer | 2016-03-02 14:14:47 -0500 | |
commit | 39964e6b38a857765876fe3bbe826f4abca30032 (patch) | |
tree | 40950fcbf9e41a74984b0a734fecb0af9ca0a60d /scripts/src | |
parent | 8803de248e2437ebde8981dc196447546914ae36 (diff) | |
parent | 99ba45ff754a254779a02daef9459912bc4a89b1 (diff) |
Merge branch 'master' of https://github.com/mamedev/mame.git
Diffstat (limited to 'scripts/src')
-rw-r--r-- | scripts/src/bus.lua | 15 | ||||
-rw-r--r-- | scripts/src/main.lua | 10 |
2 files changed, 25 insertions, 0 deletions
diff --git a/scripts/src/bus.lua b/scripts/src/bus.lua index 9514e9f5a74..1379c572fa8 100644 --- a/scripts/src/bus.lua +++ b/scripts/src/bus.lua @@ -2572,3 +2572,18 @@ if (BUSES["M5"]~=null) then } end +--------------------------------------------------- +-- +--@src/devices/bus/newbrain/exp.h,BUSES["NEWBRAIN"] = true +--------------------------------------------------- + +if (BUSES["NEWBRAIN"]~=null) then + files { + MAME_DIR .. "src/devices/bus/newbrain/exp.cpp", + MAME_DIR .. "src/devices/bus/newbrain/exp.h", + MAME_DIR .. "src/devices/bus/newbrain/eim.cpp", + MAME_DIR .. "src/devices/bus/newbrain/eim.h", + MAME_DIR .. "src/devices/bus/newbrain/fdc.cpp", + MAME_DIR .. "src/devices/bus/newbrain/fdc.h", + } +end diff --git a/scripts/src/main.lua b/scripts/src/main.lua index efd1ca75f32..eafcc59f72e 100644 --- a/scripts/src/main.lua +++ b/scripts/src/main.lua @@ -306,6 +306,16 @@ if (_OPTIONS["SOURCES"] == nil) then end end +if (_OPTIONS["SOURCES"] ~= nil) then + dependency { + { + GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", MAME_DIR .. "src/".._target .."/" .. _target ..".lst", true }, + } + custombuildtask { + { GEN_DIR .. _target .."/" .. _subtarget ..".flt" , GEN_DIR .. _target .. "/" .. _subtarget .."/drivlist.cpp", { MAME_DIR .. "scripts/build/makelist.py", MAME_DIR .. "src/".._target .."/" .. _target ..".lst" }, {"@echo Building driver list...", PYTHON .. " $(1) $(2) $(<) > $(@)" }}, + } +end + if _OPTIONS["FORCE_VERSION_COMPILE"]=="1" then configuration { "gmake" } dependency { |