forked from KolibriOS/kolibrios
5da6662132
Fix tupefile.lua git-svn-id: svn://kolibrios.org@8807 a494cfbc-eb01-0410-851d-a64ba20cac60
12 lines
414 B
Lua
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")
|