2005-04-21 16:53:53 +02:00
|
|
|
# Makefile for telnet
|
|
|
|
|
|
|
|
CFLAGS= -D_MINIX -D_POSIX_SOURCE
|
|
|
|
LDFLAGS=-i
|
2005-09-07 10:43:25 +02:00
|
|
|
CC = exec cc
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
SRC= ttn.c ttn_conf.c
|
|
|
|
|
|
|
|
all: ttn
|
|
|
|
|
|
|
|
ttn: $(SRC)
|
|
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o ttn $(SRC)
|
|
|
|
install -S 4kw $@
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f ttn
|
|
|
|
|
|
|
|
install: /usr/bin/telnet
|
|
|
|
|
|
|
|
/usr/bin/telnet: ttn
|
|
|
|
install -cs -o bin ttn $@
|