diff options
Diffstat (limited to 'scripts/genie.lua')
-rw-r--r-- | scripts/genie.lua | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/scripts/genie.lua b/scripts/genie.lua index cc34fb8c18d..b9f30782273 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -1258,19 +1258,15 @@ findfunction("createProjects_" .. _OPTIONS["target"] .. "_" .. _OPTIONS["subtarg group "emulator" dofile(path.join("src", "main.lua")) -if (_OPTIONS["SOURCES"] == nil) then - if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then - startproject (_OPTIONS["target"]) +if (_OPTIONS["target"] == _OPTIONS["subtarget"]) then + startproject (_OPTIONS["target"]) +else + if (_OPTIONS["subtarget"]=="mess") then + startproject (_OPTIONS["subtarget"]) else - if (_OPTIONS["subtarget"]=="mess") then - startproject (_OPTIONS["subtarget"]) - else - startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"]) - end + startproject (_OPTIONS["target"] .. _OPTIONS["subtarget"]) end -else - startproject (_OPTIONS["subtarget"]) -end +end mainProject(_OPTIONS["target"],_OPTIONS["subtarget"]) if (_OPTIONS["STRIP_SYMBOLS"]=="1") then |