makefile
来自「APUE(第二版)的随书源代码,与第一版的代码相比增加了一些章节的代码(详见第二」· 代码 · 共 27 行
TXT
27 行
include ../Make.definesPROGS = csize ctermid.o \ settty t_isatty t_getpass t_raw t_raw2 t_ttyname winchall: ${PROGS}t_isatty: t_isatty.o isatty.o ${LINK.c} -o $@ t_isatty.o isatty.o ${LDLIBS}t_getpass: t_getpass.o getpass.o ${LINK.c} -o $@ t_getpass.o getpass.o ${LDLIBS}t_raw: t_raw.o ${LINK.c} -o $@ t_raw.o ${LDLIBS}t_ttyname: t_ttyname.o ttyname.o ${LINK.c} -o $@ t_ttyname.o ttyname.o ${LDLIBS}# SunOS has a problem with its tty ioctl definitions. The definition# for _IOR(x,y,t) assumes that 'x' on the right hand side gets replaced# with the first argument. This isn't the way ANSI C works. With gcc# you need to fix these headers or the winch.c file won't compile.clean: rm -f ${PROGS} ${TEMPFILES}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?