kolibrios/programs/other/HotAngles/HAconfig/Tupfile.lua
theonlymirage f4e4bccefb Added utility "Hot Angles" version 0.1 (source code @HOTANGLES and HACONFIG).
git-svn-id: svn://kolibrios.org@7377 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-09-18 02:52:36 +00:00

10 lines
393 B
Lua

if tup.getconfig("NO_FASM") ~= "" then return end
--[[tup.foreach_rule(
{"HACONFIG.asm"},
"fasm %f %o " .. tup.getconfig("KPACK_CMD"),
"%B"
)
]]--
tup.rule("echo lang fix " .. ((tup.getconfig("LANG") == "") and "ru" or tup.getconfig("LANG")) .. " > lang.inc", {"lang.inc"})
tup.rule({"HACONFIG.asm", extra_inputs = {"lang.inc"}}, "fasm %f %o " .. tup.getconfig("KPACK_CMD"), "HACONFIG")