kolibrios-gitea/programs/system/launch/trunk/Tupfile.lua
Ivan Baravy 3befb301cf Add use_fasm.lua and example: launch.
Now one can avoid ../../../../ includes and lang.inc files.

git-svn-id: svn://kolibrios.org@7127 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-05 07:29:50 +00:00

7 lines
367 B
Lua

if tup.getconfig("NO_FASM") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_fasm.lua")
add_include(HELPERDIR .. "/develop/libraries/libs-dev/libio")
tup.rule("launch.asm", FASM .. " -dlang=" .. tup.getconfig("LANG") .. " %f %o" .. tup.getconfig("KPACK_CMD"), "launch")