diff --git a/programs/other/TinyHashView/Makefile b/programs/other/TinyHashView/Makefile index a0a1675e35..5849323ede 100755 --- a/programs/other/TinyHashView/Makefile +++ b/programs/other/TinyHashView/Makefile @@ -10,7 +10,7 @@ SRC=thashview.c CFLAGS= -I$(KLIBC_DIR)/include -I$(KTCC_DIR)/libc/include LFLAGS= -nobss -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o -LIBS = -lbox -ldialog -lcryptal -lc.obj +LIBS = -ltcc -ldialog -lcryptal -lbox -lc.obj all: $(KTCC) $(CFLAGS) $(SRC) $(LFLAGS) $(LIBS) -o $(NAME) diff --git a/programs/other/TinyHashView/Tupfile.lua b/programs/other/TinyHashView/Tupfile.lua index a59488d617..e9bbc62ec7 100644 --- a/programs/other/TinyHashView/Tupfile.lua +++ b/programs/other/TinyHashView/Tupfile.lua @@ -4,7 +4,7 @@ TCC="kos32-tcc" CFLAGS = "-I../../develop/libraries/kolibri-libc/include -I../../develop/ktcc/trunk/libc/include" LDFLAGS = "-nostdlib ../../develop/libraries/kolibri-libc/lib/crt0.o -L../../develop/libraries/kolibri-libc/lib -L../../develop/ktcc/trunk/bin/lib" -LIBS = "-lcryptal -ldialog -lbox -lc.obj" +LIBS = "-ltcc -lcryptal -ldialog -lbox -lc.obj" 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")