kolibrios-fun/programs/network/whois/Tupfile.lua
turbocat 42dd03c1c6 Whois:
Fix Tupefile.lua

git-svn-id: svn://kolibrios.org@8806 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 16:13:29 +00:00

12 lines
403 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", TCC, CFLAGS, "%f -o %o", LIBS)
tup.rule("whois.c", COMMAND .. tup.getconfig("KPACK_CMD"), "whois")