2021-01-04 20:34:25 +00:00
|
|
|
KTCC_DIR=../../develop/ktcc/trunk
|
|
|
|
|
|
|
|
NAME=whois
|
|
|
|
|
|
|
|
KTCC=$(KTCC_DIR)/bin/kos32-tcc
|
|
|
|
KPACK=kpack
|
|
|
|
|
|
|
|
SRC=whois.c
|
2021-04-26 21:15:40 +00:00
|
|
|
CFLAGS= -I $(KTCC_DIR)/kolibri-libc/include
|
|
|
|
LFLAGS= -nostdlib -L $(KTCC_DIR)/kolibri-libc $(KTCC_DIR)/kolibri-libc/crt0.o
|
|
|
|
LIBS = -lnetwork -lc.obj
|
2021-01-04 20:34:25 +00:00
|
|
|
|
|
|
|
all:
|
2021-04-26 21:15:40 +00:00
|
|
|
$(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME)
|
2021-01-04 20:34:25 +00:00
|
|
|
$(KPACK) $(NAME)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm $(NAME)
|