Subversion Repositories Kolibri OS

Rev

Rev 5098 | Go to most recent revision | 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. LIBS = "-lstdc++ -lsupc++ " .. LIBS
  8. LDFLAGS = LDFLAGS .. " --subsystem native"
  9.  
  10. compile_gcc{"fps.cpp", "main.cpp"}
  11. link_gcc("gears")
  12.