kolibrios-fun/programs/network/whois/Makefile
turbocat 8797117c1d Whois:
- Reconfiguring autobuild

git-svn-id: svn://kolibrios.org@8706 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-30 22:19:36 +00:00

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