📄 makefile
字号:
## Copyright (c) 1984, 1985, 1986 Xerox Corp.### You might want to change the following defines:# TITROFFBINARY the location of your typesetter-independent troff# DESTBIN where the executable files should go# DESTINCLUDE where the ".h" files go# DESTMAN where the manual pages goTITROFFBINARY = /usr/local/bin/titroffDESTBIN = /usr/newDESTINCLUDE = /usr/new/includeDESTLIB = /usr/new/libDESTMAN = /usr/man/mann# the following is still experimentalDESTMACHINES = r-wing## END of user tunable paramters#-------------------------------------------------------------# targets:# all - recompile and link everything# install - copy include files, libraries, fonts and executables# to correct destination # rdist - copy installed files to other machines running 4.3bsd## set up for recursive makesMFLAGS = DESTBIN=${DESTBIN} DESTINCLUDE=${DESTINCLUDE} DESTLIB=${DESTLIB} \ DESTMACHINES=${DESTMACHINES} DESTMAN=${DESTMAN} \ TITROFFBINARY=${TITROFFBINARY}CFLAGS= -O# Programs that live in subdirectories, and have makefiles of their own.## order is important on the next line!SUBDIR= src confLINTDIR= srcINSTALLDIR= include bin lib man/mannCLEANDIR= doc src conf bin liball: for i in ${SUBDIR}; do \ (cd $$i; make install); donelint: for i in ${LINTDIR}; do \ (cd $$i; make lint); done# install assumes that a previous "make all" has been doneinstall: for i in ${INSTALLDIR}; do \ (cd $$i; make ${MFLAGS} install); done# rdist assumes that a previous "make install" has been donerdist: for i in ${INSTALLDIR}; do \ (cd $$i; make ${MFLAGS} rdist); doneclean: rm -f a.out core *.s *.o for i in ${CLEANDIR}; do \ (cd $$i; make ${MFLAGS} clean); done @echo "clean-up complete"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -