Subversion Repositories Kolibri OS

Rev

Rev 8467 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8467 maxcodehac 1
if tup.getconfig("NO_GCC") ~= "" then return end
2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../.." or tup.getconfig("HELPERDIR")
3
tup.include(HELPERDIR .. "/use_gcc.lua")
4
tup.include(HELPERDIR .. "/use_newlib.lua")
5
 
6
if tup.getconfig("LANG") == "ru"
7
then CFLAGS = CFLAGS .. " -Dlang_ru"
8
else CFLAGS = CFLAGS .. " -Dlang_en"
9
end
10
 
8468 maxcodehac 11
compile_gcc{"Backy.c"}
12
link_gcc("Backy")