2014-09-12 17:15:23 +02:00
|
|
|
if tup.getconfig("NO_GCC") ~= "" then return end
|
|
|
|
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
|
|
|
|
tup.include(HELPERDIR .. "/use_gcc.lua")
|
2021-01-09 10:20:28 +01:00
|
|
|
tup.include(HELPERDIR .. "/use_newlib.lua")
|
2014-09-12 17:15:23 +02:00
|
|
|
tup.include(HELPERDIR .. "/use_tinygl.lua")
|
2021-01-09 10:20:28 +01:00
|
|
|
|
|
|
|
LIBS = "-lstdc++ -lsupc++ " .. LIBS
|
|
|
|
LDFLAGS = LDFLAGS .. " --subsystem native"
|
|
|
|
|
2014-09-12 17:15:23 +02:00
|
|
|
compile_gcc{"fps.cpp", "main.cpp"}
|
|
|
|
link_gcc("gears")
|