forked from KolibriOS/kolibrios
1d94455637
- Now the program uses libc.obj and is smaller. git-svn-id: svn://kolibrios.org@8686 a494cfbc-eb01-0410-851d-a64ba20cac60
19 lines
351 B
Makefile
Executable File
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)
|