2020-12-20 17:36:35 +01:00
|
|
|
if tup.getconfig("NO_TCC") ~= "" then return end
|
|
|
|
|
2020-12-21 19:42:34 +01:00
|
|
|
TCC="kos32-tcc"
|
2020-12-20 17:36:35 +01:00
|
|
|
|
2021-05-01 00:28:05 +02:00
|
|
|
CFLAGS = "-I../../develop/libraries/kolibri-libc/include -I../../develop/ktcc/trunk/libc/include"
|
|
|
|
LDFLAGS = "-nostdlib ../../develop/libraries/kolibri-libc/lib/crt0.o -L../../develop/libraries/kolibri-libc/lib -L../../develop/ktcc/trunk/bin/lib"
|
2021-05-23 17:49:26 +02:00
|
|
|
LIBS = "-ltcc -lcryptal -ldialog -lbox -lc.obj"
|
2020-12-20 17:36:35 +01:00
|
|
|
|
|
|
|
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
|
|
|
|
tup.rule("thashview.c", COMMAND .. tup.getconfig("KPACK_CMD"), "thashview")
|