kolibrios-gitea/programs/other/TinyHashView/Tupfile.lua
superturbocat2001 b7804a951e TinyHashView 2.6: added editbox from boxlib library.
git-svn-id: svn://kolibrios.org@8466 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 18:42:34 +00:00

11 lines
424 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 -lbox"
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")