Rev 8030 | Rev 8033 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
8028 | hidnplayr | 1 | if tup.getconfig("NO_GCC") ~= "" then return end |
2 | if tup.getconfig("HELPERDIR") == "" |
||
3 | then |
||
8029 | hidnplayr | 4 | HELPERDIR = "../../../programs" |
8028 | hidnplayr | 5 | end |
6 | tup.include(HELPERDIR .. "/use_gcc.lua") |
||
8031 | hidnplayr | 7 | NEWLIB_INCLUDE = "../../sdk/sources/newlib/libc/include" |
8 | INCLUDES = INCLUDES .. " -I" .. NEWLIB_INCLUDE |
||
8030 | hidnplayr | 9 | CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -U_WIN32 -nostdlib -fwhole-program" |
8028 | hidnplayr | 10 | compile_gcc{"minimp3.c"} |