- update build

git-svn-id: svn://kolibrios.org@8731 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-05-23 15:44:58 +00:00
parent ffca41d7f9
commit 69eda3cf65
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ KPACK=kpack
SRC=whois.c
CFLAGS= -I$(KLIBC_DIR)/include
LFLAGS= -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o
LIBS = -lnetwork -lc.obj
LIBS = -ltcc -lnetwork -lc.obj
all:
$(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME)

View File

@ -4,7 +4,7 @@ TCC="kos32-tcc"
CFLAGS = "-I../../develop/libraries/kolibri-libc/include"
LDFLAGS = "-nostdlib ../../develop/libraries/kolibri-libc/lib/crt0.o -L ../../develop/libraries/kolibri-libc/lib -L../../develop/ktcc/trunk/bin/lib "
LIBS = "-lnetwork -lc.obj"
LIBS = "-ltcc -lnetwork -lc.obj"
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)
tup.rule("whois.c", COMMAND .. tup.getconfig("KPACK_CMD"), "whois")