kolibrios/programs/network/whois/Makefile

20 lines
369 B
Makefile
Raw Normal View History

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