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") ~= "" and tup.getconfig("NO_GCC") ~= "") then return end |
7134 | dunkaist | 2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../.." or tup.getconfig("HELPERDIR") |
3 | tup.include(HELPERDIR .. "/use_fasm.lua") |
||
5098 | clevermous | 4 | |
7134 | dunkaist | 5 | OBJS = tup.foreach_rule("*.asm", FASM .. " %f %o", "%B.obj") |
5098 | clevermous | 6 | if tup.getconfig("NO_GCC") == "" |
7 | then tup.rule(OBJS, "kos32-ar rcs %o %f", "sound.lib") |
||
8 | else tup.rule(OBJS, "link.exe /lib /out:%o %f", "sound.lib") |
||
9 | end |