Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
5203 clevermous 1
if tup.getconfig("NO_GCC") ~= "" then return end
2
if tup.getconfig("HELPERDIR") == ""
3
then
4
  if tup.getconfig("NO_NASM") ~= "" then return end -- required for SDL compilation
5
  HELPERDIR = "../../../programs"
6
end
7
tup.include(HELPERDIR .. "/use_gcc.lua")
8
tup.include(HELPERDIR .. "/use_menuetlibc.lua")
9
tup.include(HELPERDIR .. "/use_sdl.lua")
10
CFLAGS = CFLAGS_OPTIMIZE_SPEED .. " -std=c99 -U_WIN32 -fwhole-program"
11
compile_gcc{"8086tiny.c"}
12
link_gcc("8086tiny")