2021-02-10 21:02:54 +01:00
|
|
|
if tup.getconfig("NO_TCC") ~= "" then return end
|
|
|
|
|
2021-06-10 17:06:01 +02:00
|
|
|
TCC="../../develop/ktcc/trunk/bin/kos32-tcc"
|
|
|
|
CFLAGS = "-I../../develop/ktcc/trunk/libc.obj/include"
|
2021-02-10 21:02:54 +01:00
|
|
|
|
2021-05-23 19:21:26 +02:00
|
|
|
LIBS = "-ltcc -limg -lhttp -lc.obj"
|
2021-02-10 21:02:54 +01:00
|
|
|
|
2021-06-10 17:06:01 +02:00
|
|
|
COMMAND = string.format("%s %s %s %s ", TCC, CFLAGS, "%f -o %o", LIBS)
|
2021-05-23 19:21:26 +02:00
|
|
|
tup.rule({"weather.c", "json/json.c"}, COMMAND .. tup.getconfig("KPACK_CMD"), "weather")
|