makefile

来自「unix网络编程的源码」· 代码 · 共 43 行

TXT
43
字号
include ../Make.defines

PROGS =	ctl limits slot slotseq twoqueues testumask \
		msgcreate msgsnd msgrcv msgrcvid msgrmid

all:	${PROGS}

msgcreate:	msgcreate.o
		${CC} ${CFLAGS} -o $@ msgcreate.o ${LIBS}

msgsnd:	msgsnd.o
		${CC} ${CFLAGS} -o $@ msgsnd.o ${LIBS}

msgrcv:	msgrcv.o
		${CC} ${CFLAGS} -o $@ msgrcv.o ${LIBS}

msgrcvid:	msgrcvid.o
		${CC} ${CFLAGS} -o $@ msgrcvid.o ${LIBS}

msgrmid:	msgrmid.o
		${CC} ${CFLAGS} -o $@ msgrmid.o ${LIBS}

ctl:	ctl.o
		${CC} ${CFLAGS} -o $@ ctl.o ${LIBS}

limits:	limits.o
		${CC} ${CFLAGS} -o $@ limits.o ${LIBS}

slot:	slot.o
		${CC} ${CFLAGS} -o $@ slot.o ${LIBS}

slotseq:	slotseq.o
		${CC} ${CFLAGS} -o $@ slotseq.o ${LIBS}

twoqueues:	twoqueues.o
		${CC} ${CFLAGS} -o $@ twoqueues.o ${LIBS}

testumask:	testumask.o
		${CC} ${CFLAGS} -o $@ testumask.o ${LIBS}

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

⌨️ 快捷键说明

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