diff options
Diffstat (limited to 'xmake/plugins/project/makefile/makefile.lua')
| -rw-r--r-- | xmake/plugins/project/makefile/makefile.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/project/makefile/makefile.lua b/xmake/plugins/project/makefile/makefile.lua index f54cf64de..e31de2f83 100644 --- a/xmake/plugins/project/makefile/makefile.lua +++ b/xmake/plugins/project/makefile/makefile.lua @@ -337,7 +337,8 @@ function _make_all(makefile) -- make all local all = "" for targetname, target in pairs(project.targets()) do - if target:get("default") then + local default = target:get("default") + if default == nil or default == true then all = all .. " " .. targetname end end |
