Rev 5098 | Go to most recent revision | 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") ~= "" and tup.getconfig("NO_GCC") ~= "") then return end |
1 | if tup.getconfig("NO_FASM") ~= "" or (tup.getconfig("NO_MSVC") ~= "" and tup.getconfig("NO_GCC") ~= "") then return end |
- | 2 | HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../.." or tup.getconfig("HELPERDIR") |
|
- | 3 | tup.include(HELPERDIR .. "/use_fasm.lua") |
|
Line 2... | Line 4... | ||
2 | 4 | ||
3 | OBJS = tup.foreach_rule("*.asm", "fasm %f %o", "%B.obj") |
5 | OBJS = tup.foreach_rule("*.asm", FASM .. " %f %o", "%B.obj") |
4 | if tup.getconfig("NO_GCC") == "" |
6 | if tup.getconfig("NO_GCC") == "" |
5 | then tup.rule(OBJS, "kos32-ar rcs %o %f", "sound.lib") |
7 | then tup.rule(OBJS, "kos32-ar rcs %o %f", "sound.lib") |
6 | else tup.rule(OBJS, "link.exe /lib /out:%o %f", "sound.lib") |
8 | else tup.rule(OBJS, "link.exe /lib /out:%o %f", "sound.lib") |