kolibrios/programs/network/whois/Makefile
turbocat 1d94455637 Whois:
- Now the program uses libc.obj and is smaller.

git-svn-id: svn://kolibrios.org@8686 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-26 21:15:40 +00:00

19 lines
351 B
Makefile
Executable File

KTCC_DIR=../../develop/ktcc/trunk
NAME=whois
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
LIBS = -lnetwork -lc.obj
all:
$(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME)
$(KPACK) $(NAME)
clean:
rm $(NAME)