kolibrios/programs/network/whois/Makefile
turbocat 69eda3cf65 whois:
- update build

git-svn-id: svn://kolibrios.org@8731 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-23 15:44:58 +00:00

20 lines
375 B
Makefile
Executable File

KTCC_DIR=../../develop/ktcc/trunk
KLIBC_DIR = ../../develop/libraries/kolibri-libc
NAME=whois
KTCC=$(KTCC_DIR)/bin/kos32-tcc
KPACK=kpack
SRC=whois.c
CFLAGS= -I$(KLIBC_DIR)/include
LFLAGS= -nostdlib -L $(KLIBC_DIR)/lib $(KLIBC_DIR)/lib/crt0.o
LIBS = -ltcc -lnetwork -lc.obj
all:
$(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME)
$(KPACK) $(NAME)
clean:
rm $(NAME)