kolibrios-gitea/skins/dunkaist/testtest/Tupfile.lua

8 lines
391 B
Lua
Raw Normal View History

if tup.getconfig("NO_FASM") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../programs" or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(tup.getvariantdir())
tup.rule("dtp.asm", 'fasm "%f" "%o"', "%B")
tup.rule({"testtest.asm", extra_inputs = {"dtp"}}, FASM .. ' "%f" "%o" ' .. tup.getconfig("KPACK_CMD"), "testtest.skn")