Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  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. tup.include(HELPERDIR .. "/use_tinygl.lua")
  6.  
  7. LDFLAGS = LDFLAGS .. " --subsystem native"
  8.  
  9. compile_gcc{"fps.c", "main.c"}
  10. link_gcc("gears")
  11.