Subversion Repositories Kolibri OS

Rev

Rev 5098 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5098 Rev 8528
Line 1... Line 1...
1
if tup.getconfig("NO_GCC") ~= "" then return end
1
if tup.getconfig("NO_GCC") ~= "" then return end
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
4
tup.include(HELPERDIR .. "/use_menuetlibc.lua")
4
tup.include(HELPERDIR .. "/use_newlib.lua")
5
tup.include(HELPERDIR .. "/use_tinygl.lua")
5
tup.include(HELPERDIR .. "/use_tinygl.lua")
-
 
6
 
-
 
7
LIBS = "-lstdc++ -lsupc++ " .. LIBS
-
 
8
LDFLAGS = LDFLAGS .. " --subsystem native"
-
 
9
 
6
compile_gcc{"fps.cpp", "main.cpp"}
10
compile_gcc{"fps.cpp", "main.cpp"}
7
link_gcc("gears")
11
link_gcc("gears")