Update Tupfile.lua's for tup-0.8

git-svn-id: svn://kolibrios.org@10042 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
2024-05-21 14:45:21 +00:00
parent 0eabeee0d3
commit e9e08c56b6
202 changed files with 1509 additions and 916 deletions

View File

@@ -20,8 +20,8 @@ function link_msvc(input, output)
if not output then input,output = OBJS,input end
if type(output) ~= "string" then error("output for link_msvc should be simple string") end
local exename = output .. ".exe"
local mapname = output .. ".map"
local exename = tup.getvariantdir() .. "/" .. output .. ".exe"
local mapname = tup.getvariantdir() .. "/" .. output .. ".map"
tup.rule(input, "link.exe " .. LDFLAGS .. " /out:%o /Map:" .. mapname .. " %f", {exename, extra_outputs = {mapname}})
tup.rule(exename, env_prefix .. "fasm " .. THISDIR .. "/../data/common/doexe2.asm %o " .. tup.getconfig("KPACK_CMD"), output)