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")
|
|
|
|
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -o minimp3.obj -nostdlib -fwhole-program"
|
|
|
|
compile_gcc{"minimp3.c"}
|