2021-01-04 21:34:25 +01:00
|
|
|
KTCC_DIR=../../develop/ktcc/trunk
|
|
|
|
|
|
|
|
NAME=whois
|
|
|
|
|
|
|
|
KTCC=$(KTCC_DIR)/bin/kos32-tcc
|
|
|
|
KPACK=kpack
|
|
|
|
|
|
|
|
SRC=whois.c
|
2021-04-26 23:15:40 +02: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 21:34:25 +01:00
|
|
|
|
|
|
|
all:
|
2021-04-26 23:15:40 +02:00
|
|
|
$(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME)
|
2021-01-04 21:34:25 +01:00
|
|
|
$(KPACK) $(NAME)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm $(NAME)
|