Subversion Repositories Kolibri OS

Rev

Rev 5098 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5098 Rev 7134
Line 1... Line 1...
1
if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end
1
if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
-
 
3
tup.include(HELPERDIR .. "/use_fasm.lua")
3
tup.include(HELPERDIR .. "/use_msvc.lua")
4
tup.include(HELPERDIR .. "/use_msvc.lua")
4
compile_msvc{"*.c"}
5
compile_msvc{"*.c"}
5
tup.append_table(OBJS, tup.rule("pow.asm", "fasm %f %o", "pow.obj"))
6
tup.append_table(OBJS, tup.rule("pow.asm", FASM .. " %f %o", "pow.obj"))
6
tup.rule(OBJS, "link.exe /lib /out:%o %f", "mpg.lib")
7
tup.rule(OBJS, "link.exe /lib /out:%o %f", "mpg.lib")