- Reconfiguring autobuild

git-svn-id: svn://kolibrios.org@8706 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
turbocat 2021-04-30 22:19:36 +00:00
parent da310946f0
commit 8797117c1d
2 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,5 @@
KTCC_DIR=../../develop/ktcc/trunk
KLIBC_DIR = ../../develop/libraries/kolibri-libc
NAME=whois
@ -6,8 +7,8 @@ KTCC=$(KTCC_DIR)/bin/kos32-tcc
KPACK=kpack
SRC=whois.c
CFLAGS= -I $(KTCC_DIR)/kolibri-libc/include
LFLAGS= -nostdlib -L $(KTCC_DIR)/kolibri-libc $(KTCC_DIR)/kolibri-libc/crt0.o
CFLAGS= -I$(KLIBC_DIR)/include
LFLAGS= -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o
LIBS = -lnetwork -lc.obj
all:

View File

@ -2,8 +2,8 @@ if tup.getconfig("NO_TCC") ~= "" then return end
TCC="kos32-tcc"
CFLAGS = "-I../../develop/ktcc/trunk/kolibri-libc/include"
LDFLAGS = "-nostdlib ../../develop/ktcc/trunk/kolibri-libc/crt0.o -L ../../develop/ktcc/trunk/kolibri-libc -L../../develop/ktcc/trunk/bin/lib "
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"
COMMAND=string.format("%s %s %s %s %s ", TCC, CFLAGS, "%f -o %o", LDFLAGS, LIBS)