makefile
来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 代码 · 共 109 行
TXT
109 行
## @(#)Makefile 1.8 (ULTRIX) 2/11/86## Makefile for PCC## These symbols are used to configure the compiler:# ASSTRINGS assembler handles string initializations# STABDOT assembler understands .stabd# LCOMM assembler supports .lcomm# FIXSTRUCT no trickery (just output structure)## FORT get f77-style pass 2#CONFIG= -DASSTRINGS -DSTABDOT -DLCOMM "-DFIXSTRUCT=outstruct"O = -OCFLAGS = $(O) -I. -I$(M) $(CONFIG)FOPTS = -DFORT $(CFLAGS)LDFLAGS =RM= /bin/rm -fFFILES= freader.c fallo.c fmatch.c ftable.c forder.c flocal2.c fcomm2.cFOBJS= freader.o fallo.o fmatch.o ftable.o forder.o flocal2.o fcomm2.oP2INCS= $M/pass2.h macdefs.h mac2defs.h $M/manifest.h pcclocal.h $M/config.h \ $M/ndu.h /usr/include/stdio.hP2ONEP= $(P2INCS) $M/onepass.hM=../mipMAKEFILE = MakefileLINKER = ccPRINT = prPROGRAM = f1## 'f1' is the f77 and pc code generator.#all: f1f1 : fort.o ${FOBJS} ${CC} ${LDFLAGS} fort.o ${FOBJS} -o f1fort.o: $(P2INCS) fort.h $M/fort.c $(CC) -c $(FOPTS) $M/fort.cfreader.o: $(P2INCS) $M/reader.c ln $M/reader.c freader.c $(CC) -c $(FOPTS) freader.c $(RM) freader.cfallo.o: $(P2INCS) $M/allo.c ln $M/allo.c fallo.c $(CC) -c $(FOPTS) fallo.c $(RM) fallo.cfmatch.o: $(P2INCS) $M/match.c ln $M/match.c fmatch.c $(CC) -c $(FOPTS) fmatch.c $(RM) fmatch.cftable.o: $(P2INCS) table.c ln table.c ftable.c $(CC) -c -R $(FOPTS) ftable.c $(RM) ftable.cforder.o: $(P2INCS) order.c ln order.c forder.c $(CC) -c $(FOPTS) forder.c $(RM) forder.cflocal2.o: $(P2INCS) local2.c ln local2.c flocal2.c $(CC) -c $(FOPTS) flocal2.c $(RM) flocal2.cfcomm2.o: $(P2INCS) $M/common.c ln $M/common.c fcomm2.c $(CC) -c $(FOPTS) -DPASS2COMMON fcomm2.c $(RM) fcomm2.cinstall: all install -c -s f1 ${DESTROOT}/lib/f1GREP= egreppcclocal.h: localdefs.h ../../include/pcc.h $(RM) pcclocal.h cat ../../include/pcc.h localdefs.h | $(GREP) '^#[ ]*(define[ ][ ]*PCC(F|T|TM|OM)?_|ifdef|ifndef|endif)' | sed -e 's/PCC[A-Z]*_//' > pcclocal.h pcctokens: localdefs.h ../../include/pcc.h $(RM) pcctokens cat ../../include/pcc.h localdefs.h | $(GREP) '^#[ ]*define[ ][ ]*PCC_' | sed -e 's/^#[ ]*define[ ][ ]*PCC_/%term /' > pcctokensclean: $(RM) *.o f1 cgram.c rodata.c pcctokens pcclocal.h gram.in cd ../mip; rm -f *.oclobber: clean rm -f *.[ch] gram.* core Makefile cd ../mip; rm -f *.[ch] coresccsinfo: sccs info cd ../mip; sccs infosccsget: sccs get SCCS cd ../mip; sccs get SCCSdepend :; @echo Construnct dependencies manually
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?