kolibrios-fun/programs/other/graph/Tupfile.lua

9 lines
333 B
Lua
Raw Normal View History

if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
tup.include(HELPERDIR .. "/use_msvc.lua")
tup.append_table(OBJS,
tup.foreach_rule("*.asm", "fasm %f %o", "%B.obj")
)
compile_msvc{"*.cpp"}
link_msvc("graph")