Subversion Repositories Kolibri OS

Rev

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

  1. if tup.getconfig("NO_FASM") ~= "" or 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. CFLAGS = CFLAGS .. " -I include"
  5. LDFLAGS = LDFLAGS .. " -T kolibri.ld"
  6. OBJS += tup.foreach_rule({"start.asm", "kolibrisys/*.asm"}, "fasm %f %o", "%B.o")
  7. compile_gcc{"game.c"}
  8. compile_gcc{"stdio/*.c"}
  9. link_gcc("nsider")
  10.