kolibrios-fun/programs/network/whois/Tupfile.lua
turbocat 5da6662132 Whois:
Fix tupefile.lua


git-svn-id: svn://kolibrios.org@8807 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 16:15:44 +00:00

12 lines
414 B
Lua

if tup.getconfig("NO_TCC") ~= "" then return end
TCC="kos32-tcc"
CFLAGS = "-I../../develop/ktcc/trunk/libc.obj/include"
LDFAGS = "-nostdlib -L../../develop/ktcc/trunk/bin/lib ../../develop/ktcc/trunk/bin/lib/crt0.o"
LIBS = "-ltcc -lnetwork -lc.obj"
COMMAND=string.format("%s %s %s %s %s", TCC, CFLAGS, LDFAGS, "%f -o %o", LIBS)
tup.rule("whois.c", COMMAND .. tup.getconfig("KPACK_CMD"), "whois")