2021-02-01 21:51:09 +01:00
|
|
|
if tup.getconfig("NO_TCC") ~= "" then return end
|
|
|
|
|
|
|
|
TCC="kos32-tcc"
|
2021-06-10 18:21:45 +02:00
|
|
|
CFLAGS = "-I../../develop/ktcc/trunk/libc.obj/include"
|
|
|
|
LDFLAGS = "-nostdlib ../ktcc/trunk/bin/lib/crt0.o -L../ktcc/trunk/bin/lib"
|
2021-02-01 21:51:09 +01:00
|
|
|
|
2021-05-25 17:59:31 +02:00
|
|
|
LIBS = "-ltcc -lbox -lc.obj"
|
2021-06-10 18:21:45 +02:00
|
|
|
COMMAND=string.format("%s %s %s %s %s", TCC, CFLAGS, LFLAGS, "%f -o %o", LIBS)
|
2021-02-01 21:51:09 +01:00
|
|
|
|
|
|
|
tup.rule("passwordgen.c", COMMAND .. tup.getconfig("KPACK_CMD"), "passwordgen")
|