📄 makefile
字号:
include ../Make.defines
PROGS = prodcons1 testsem testeintr
FUNCS = sem_close.o sem_getvalue.o sem_open.o sem_post.o \
sem_trywait.o sem_unlink.o sem_wait.o
all: ${PROGS}
prodcons1: prodcons1.o ${FUNCS}
${CC} ${CFLAGS} -o $@ prodcons1.o ${FUNCS} ${LIBS}
testsem: testsem.o ${FUNCS}
${CC} ${CFLAGS} -o $@ testsem.o ${FUNCS} ${LIBS}
testeintr: testeintr.o ${FUNCS}
${CC} ${CFLAGS} -o $@ testeintr.o ${FUNCS} ${LIBS}
clean:
rm -f ${PROGS} ${CLEANFILES}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -