forked from KolibriOS/kolibrios
69eda3cf65
- update build git-svn-id: svn://kolibrios.org@8731 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
375 B
Makefile
Executable File
20 lines
375 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 = -ltcc -lnetwork -lc.obj
|
|
|
|
all:
|
|
$(KTCC) $(CFLAGS) $(LFLAGS) $(SRC) $(LIBS) -o $(NAME)
|
|
$(KPACK) $(NAME)
|
|
|
|
clean:
|
|
rm $(NAME)
|