Rev 5098 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5098 | clevermous | 1 | if tup.getconfig("NO_FASM") ~= "" or tup.getconfig("NO_MSVC") ~= "" then return end |
2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR") |
||
7134 | dunkaist | 3 | tup.include(HELPERDIR .. "/use_fasm.lua") |
5098 | clevermous | 4 | tup.include(HELPERDIR .. "/use_msvc.lua") |
5 | compile_msvc{"*.c"} |
||
7134 | dunkaist | 6 | tup.append_table(OBJS, tup.rule("pow.asm", FASM .. " %f %o", "pow.obj")) |
5098 | clevermous | 7 | tup.rule(OBJS, "link.exe /lib /out:%o %f", "mpg.lib") |