Rev 8028 | Rev 8030 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8028 | Rev 8029 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
1 | if tup.getconfig("NO_GCC") ~= "" then return end |
2 | if tup.getconfig("HELPERDIR") == "" |
2 | if tup.getconfig("HELPERDIR") == "" |
3 | then |
3 | then |
4 | HELPERDIR = "../../../../programs" |
4 | HELPERDIR = "../../../programs" |
5 | end |
5 | end |
6 | tup.include(HELPERDIR .. "/use_gcc.lua") |
6 | tup.include(HELPERDIR .. "/use_gcc.lua") |
7 | CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -nostdlib -fwhole-program" |
7 | CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -nostdlib -fwhole-program" |
8 | compile_gcc{"minimp3.c"} |
8 | compile_gcc{"minimp3.c"} |