2020-06-09 20:16:54 +02:00
|
|
|
if tup.getconfig("NO_GCC") ~= "" then return end
|
|
|
|
if tup.getconfig("HELPERDIR") == ""
|
|
|
|
then
|
2020-06-09 20:18:43 +02:00
|
|
|
HELPERDIR = "../../../programs"
|
2020-06-09 20:16:54 +02:00
|
|
|
end
|
|
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
2020-06-09 21:36:34 +02:00
|
|
|
NEWLIB_INCLUDE = "../../sdk/sources/newlib/libc/include"
|
|
|
|
INCLUDES = INCLUDES .. " -I" .. NEWLIB_INCLUDE
|
2020-06-09 20:26:49 +02:00
|
|
|
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -U_WIN32 -nostdlib -fwhole-program"
|
2020-06-09 20:16:54 +02:00
|
|
|
compile_gcc{"minimp3.c"}
|