diff --git a/programs/other/graph_tablelib/Tupfile.lua b/programs/other/graph_tablelib/Tupfile.lua index cab645c260..1469e1faa0 100644 --- a/programs/other/graph_tablelib/Tupfile.lua +++ b/programs/other/graph_tablelib/Tupfile.lua @@ -1,5 +1,7 @@ -if tup.getconfig("NO_MSVC") ~= "" then return end +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")