📄 makefile
字号:
## Makefile for compiling Perl under MS-DOS## Needs a Unix compatible make.# This makefile works for an initial compilation. It does not# include all dependencies and thus is unsuitable for serious# development work. But who would do serious development under# MS-DOS?## By Diomidis Spinellis, March 1990## Source filesSRC = array.c cmd.c cons.c consarg.c doarg.c doio.c dolist.c dump.c \eval.c form.c hash.c perl.y perly.c regcomp.c regexec.c \stab.c str.c toke.c util.c msdos.c popen.c directory.c# Object filesOBJ = perl.obj array.obj cmd.obj cons.obj consarg.obj doarg.obj doio.obj \dolist.obj dump.obj eval.obj form.obj hash.obj perly.obj regcomp.obj \regexec.obj stab.obj str.obj toke.obj util.obj msdos.obj popen.obj \directory.obj# Files in the MS-DOS distributionDOSFILES=config.h dir.h director.c glob.c makefile msdos.c popen.c readme.msd \changes.dds wishlist.dds patches manifest# Yacc flagsYFLAGS=-d# Manual pagesMAN=perlman.1 perlman.2 perlman.3 perlman.4CC=cc# Cflags for the files that break under the optimiserCPLAIN=-AL -DCRIPPLED_CC# Cflags for all the restCFLAGS=$(CPLAIN) -Ox# Destination directory for executablesDESTDIR=\usr\bin# Deliverablesall: perl.exe perl.1 glob.exeperl.exe: $(OBJ) echo array+cmd+cons+consarg+doarg+doio+dolist+dump+ >perl.arp echo eval+form+hash+perl+perly+regcomp+regexec+ >>perl.arp echo stab+str+toke+util+msdos+popen+directory+\lib\setargv >>perl.arp echo perl.exe >>perl.arp echo nul >>perl.arp echo /stack:32767 /NOE >>perl.arp link @perl.arpglob.exe: glob.c $(CC) glob.c \lib\setargv.obj -link /NOEarray.obj: array.ccmd.obj: cmd.ccons.obj: cons.c perly.hconsarg.obj: consarg.c $(CC) $(CPLAIN) -c consarg.cdoarg.obj: doarg.cdoio.obj: doio.cdolist.obj: dolist.cdump.obj: dump.ceval.obj: eval.c evalargs.xcform.obj: form.chash.obj: hash.cperl.obj: perl.yperly.obj: perly.cregcomp.obj: regcomp.cregexec.obj: regexec.cstab.obj: stab.cstr.obj: str.ctoke.obj: toke.cutil.obj: util.c $(CC) $(CPLAIN) -c util.cperly.h: perl.obj mv ytab.h perly.hdirectory.obj: directory.cpopen.obj: popen.cmsdos.obj: msdos.cperl.1: $(MAN) nroff -man $(MAN) >perl.1install: all exepack perl.exe $(DESTDIR)\perl.exe exepack glob.exe $(DESTDIR)\glob.execlean: rm -f *.obj *.exe perl.1 perly.h perl.arptags: ctags *.c *.h *.xcdosperl: mv $(DOSFILES) ../perl30.newdoskit: mv $(DOSFILES) ../msdos
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -