📄 makefile
字号:
#
# Internetworking with TCP/IP, Volume III telnet example Makefile
#
# David L Stevens, Internetworking Research Group at Purdue
# Fri Mar 20 21:13:40 EST 1992
#
INCLUDE =
PROG = telnet
DEFS =
CFLAGS = -g ${DEFS} ${INCLUDE}
LIB = -lsocket -lnsl
HDR =
SRC = cerrexit.c clientTCP.c clientTLI.c clientUDP.c \
dcon.c do_echo.c do_noga.c do_notsup.c \
do_txbinary.c errexit.c fsmbuild.c fsminit.c \
tenotsup.c tefsm.c tclient.c recopt.c \
scrgetc.c scrinit.c scrwrap.c teputc.c \
tewrite.c status.c subend.c subfsm.c \
subopt.c subtermtype.c suspend.c sync.c \
tcout.c telnet.c ttfsm.c rwaddTLI.c \
ttputc.c ttysetup.c ttwrite.c unscript.c \
will_notsup.c will_termtype.c will_txbinary.c xput.c \
block.c
OBJ = cerrexit.o clientTCP.o clientTLI.o clientUDP.o \
dcon.o do_echo.o do_noga.o do_notsup.o \
do_txbinary.o errexit.o fsmbuild.o fsminit.o \
tenotsup.o tefsm.o tclient.o recopt.o \
scrgetc.o scrinit.o scrwrap.o teputc.o \
tewrite.o status.o subend.o subfsm.o \
subopt.o subtermtype.o suspend.o sync.o \
tcout.o telnet.o ttfsm.o rwaddTLI.o \
ttputc.o ttysetup.o ttwrite.o unscript.o \
will_notsup.o will_termtype.o will_txbinary.o xput.o \
block.o
all: ${PROG}
${PROG}: ${OBJ}
${CC} -o $@ ${CFLAGS} ${OBJ} -ltermcap ${LIB}
clean: FRC
rm -f Makefile.bak a.out core errs lint.errs ${PROG} *.o
depend: ${HDR} ${SRC} FRC
maketd -a ${DEFS} ${INCLUDE} ${SRC}
install: all FRC
@echo "Your installation instructions here."
lint: ${HDR} ${SRC} FRC
lint ${DEFS} ${INCLUDE} ${SRC}
print: Makefile ${SRC} FRC
lpr Makefile ${HDR} ${SRC}
spotless: clean FRC
rcsclean Makefile ${HDR} ${SRC}
tags: ${SRC}
ctags ${SRC}
${HDR} ${SRC}:
co $@
FRC:
# DO NOT DELETE THIS LINE - maketd DEPENDS ON IT
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -