📄 config
字号:
############################################################################### Instructions to Make, for compilation of MH modules## @(MHWARNING)# @(#)$Id: config,v 1.2 90/11/25 18:56:37 sharpe Exp $##############################################################################OPTIONS = @(MHOPTIONS)LDOPTIONS= @(LDOPTIONS)CC = @(MHCOMPILER)@BEGIN: OPTIMCFLAGS = $(OPTIONS)@END: OPTIM@BEGIN: DEBUGCFLAGS = $(OPTIONS)@END: DEBUGLDFLAGS = $(LDOPTIONS)LIBES =LINT = lintLFLAGS = -bhu $(OPTIONS)LLIBS =############################################################################### Generate object file for MH configuration##############################################################################CFILES = config.c version.cOFILES = config.o version.oall: $(OFILES)lint:; $(LINT) $(LFLAGS) $(CFILES) $(LLIBS)version version.c: true @/bin/sh version.sh @(MHRELEASE)true:;############################################################################### Miscellaneous tasks##############################################################################unconfig: distribution -rm -f Makefiledistribution: clean -rm -f config.c version.c versionclean: unclean -rm -f *.ounclean:; -rm -f _* :* core eddep makedep############################################################################### Dependencies##############################################################################MODULES = $(CFILES)depend:; for m in $(MODULES); do ( \ i=`basename $$m .c`; \ echo $$i.o: $$i.c >> makedep; \ grep '^#[ ]*include' $$i.c | \ sed -e 's,[^"]*"/\([^"]*\)".*,'$$i'.o: /\1,' \ -e 's,[^"]*"\([^"]*\)".*,'$$i'.o: \1,' \ -e 's,[^<]*<\(.*\)>.*,#'$$i'.o: /usr/include/\1,' \ >> makedep \ ); done echo '/^# DO NOT DELETE THIS LINE/+2,$$d' > eddep echo '$$r makedep' >> eddep echo 'w' >> eddep cp Makefile _Makefile ed - Makefile < eddep rm eddep makedep echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile# DO NOT DELETE THIS LINE# DEPENDENCIES START HEREconfig.o: config.cconfig.o: ../h/mh.h#config.o: /usr/include/pwd.h#config.o: /usr/include/stdio.h# DEPENDENCIES MUST END AT END OF FILE# IF YOU PUT STUFF HERE IT WILL GO AWAY
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -