2020-12-20 17:36:35 +01:00
|
|
|
if tup.getconfig("NO_TCC") ~= "" then return end
|
|
|
|
|
2021-06-10 18:27:34 +02:00
|
|
|
TCC="kos32-tcc"
|
2021-06-10 17:03:48 +02:00
|
|
|
CFLAGS = "-I../../develop/ktcc/trunk/libc.obj/include"
|
2021-06-10 18:27:34 +02:00
|
|
|
LDFLAGS = "-nostdlib ../../develop/ktcc/trunk/bin/lib/crt0.o -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
|
|
|
|
2021-06-10 18:27:34 +02:00
|
|
|
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, LDFLAGS, "%f -o %o", LIBS)
|
2020-12-20 17:36:35 +01:00
|
|
|
tup.rule("thashview.c", COMMAND .. tup.getconfig("KPACK_CMD"), "thashview")
|