whois:
- update build git-svn-id: svn://kolibrios.org@8731 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
ffca41d7f9
commit
69eda3cf65
@ -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)
|
||||
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user