makefile

来自「unix环境高级编程的源代码」· 代码 · 共 20 行

TXT
20
字号
include ../Make.defines

PROGS =    add2 add2stdio fifo1 myuclc \
        pipeawk pipe1 pipe2 pipe3 pipe4 pipe5 \
        pipe4stdio pipetype pollin pollout \
        popen1 popen2 popen3 popen4 posixex \
        selectin selectout spipe4 \
        tpassfd tpopen tshm ttellwait1 ttellwait2

all:    ${PROGS}

ttellwait1: ttellwait1.o tellwait.o
              $(LINK.c) -o $@ ttellwait1.o tellwait.o $(LDLIBS)

ttellwait2: ttellwait2.o tellwait.o
              $(LINK.c) -o $@ ttellwait2.o tellwait.o $(LDLIBS)

clean:
    rm -f ${PROGS} ${TEMPFILES}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?