Subversion Repositories Kolibri OS

Rev

Rev 8390 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
8387 maxcodehac 1
if tup.getconfig("NO_GCC") ~= "" then return end
8388 maxcodehac 2
HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../.." or tup.getconfig("HELPERDIR")
8387 maxcodehac 3
tup.include(HELPERDIR .. "/use_gcc.lua")
4
tup.include(HELPERDIR .. "/use_newlib.lua")
5
 
8391 maxcodehac 6
CFLAGS = CFLAGS .. " -Dasm=__asm__ -std=c99 -DGCC_BUILD"
8387 maxcodehac 7
LDFLAGS = LDFLAGS .. " --subsystem native"
8
 
9
compile_gcc{"tte.c", "notify.c", "getline.c"}
10
link_gcc("tte")