Subversion Repositories Kolibri OS

Rev

Rev 8805 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

  1. if tup.getconfig("NO_TCC") ~= "" then return end
  2.  
  3. TCC="kos32-tcc"
  4. CFLAGS  = "-I../../develop/ktcc/trunk/libc.obj/include"
  5. LDFLAGS = "-nostdlib -L../../develop/ktcc/trunk/bin/lib ../../develop/ktcc/trunk/bin/lib/crt0.o"
  6.  
  7. LIBS = "-ltcc -limg -lhttp -lc.obj"
  8.  
  9. COMMAND = string.format("%s %s %s %s %s ", TCC, CFLAGS, LDFLAGS, "%f -o %o", LIBS)
  10. tup.rule({"weather.c", "json/json.c"}, COMMAND .. tup.getconfig("KPACK_CMD"), "weather")
  11.