makefile
来自「unix环境高级编程一书源代码 本书全面介绍了UNIX系统的程序设计界面—系统」· 代码 · 共 31 行
TXT
31 行
include ../Make.definesPROGS = abort.o child critical mask queue \ raise.o read1 read2 readpart reenter \ segv setops.o sigtstp sigusr \ suspend1 suspend2 \ system.o systest1 systest2 \ trestart tsavedid tsiglist tsleep tsleep1 tsleep2 tsleep3 \ ttellwait1 ttellwait2all: ${PROGS}systest1.o: ${NOANSICOMPILE.c} systest1.c# We want to link with our own version of system() for systest[12].systest1: system.o systest1.o $(LINK.c) -o $@ systest1.o system.o $(LDLIBS)systest2: system.o systest2.o $(LINK.c) -o $@ systest2.o system.o $(LDLIBS)tsleep1: sleep1.o tsleep1.o $(LINK.c) -o $@ sleep1.o tsleep1.o $(LDLIBS)tsleep2: sleep2.o tsleep2.o $(LINK.c) -o $@ sleep2.o tsleep2.o $(LDLIBS)clean: rm -f ${PROGS} ${TEMPFILES}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?