kolibrios/programs/other/TinyHashView/Tupfile.lua
superturbocat2001 57c57ff9ff - Added thashview to autobuild
git-svn-id: svn://kolibrios.org@8460 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-20 16:36:35 +00:00

11 lines
419 B
Lua

if tup.getconfig("NO_TCC") ~= "" then return end
TCC="kos32-tcc "
CFLAGS = "-I../../develop/ktcc/trunk/libc/include"
LDFLAGS = "-nostdlib ../../develop/ktcc/trunk/bin/lib/start.o -L../../develop/ktcc/trunk/bin/lib"
LIBS = "-lck -lcryptal -ldialog"
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
tup.rule("thashview.c", COMMAND .. tup.getconfig("KPACK_CMD"), "thashview")