summaryrefslogtreecommitdiffstatshomepage
path: root/scripts/genie.lua
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-05-09 15:10:29 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2015-05-09 15:10:29 +0200
commit5df1b60963060ea61de7bed8d2e8f68f284bf1d9 (patch)
tree2735d7d5161a5b44ddf59116121e4d2dc9d97cdf /scripts/genie.lua
parent9d82d2242f00cf2a9e571a108e7c47d7f2c54e42 (diff)
MAME now represent full build, for building MESS drivers only use [Miodrag Milanovic]
make SUBTARGET=mess, for building only Arcades drivers only use: make SUBTARGET=arcade
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r--scripts/genie.lua12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua
index 42ff7fc64ce..fd9d14d0d4e 100644
--- a/scripts/genie.lua
+++ b/scripts/genie.lua
@@ -333,7 +333,11 @@ if (_OPTIONS["subtarget"] == nil) then return false end
if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then
solution (_OPTIONS["target"])
else
- solution (_OPTIONS["target"] .. _OPTIONS["subtarget"])
+ if (_OPTIONS["subtarget"]=="mess") then
+ solution (_OPTIONS["subtarget"])
+ else
+ solution (_OPTIONS["target"] .. _OPTIONS["subtarget"])
+ end
end
configurations {
@@ -1107,7 +1111,11 @@ dofile(path.join("src", "main.lua"))
if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then
startproject (_OPTIONS["target"])
else
- startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"])
+ if (_OPTIONS["subtarget"]=="mess") then
+ startproject (_OPTIONS["subtarget"])
+ else
+ startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"])
+ end
end
mainProject(_OPTIONS["target"],_OPTIONS["subtarget"])