⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile

📁 现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中
💻
字号:
##########################################################################
#     Fortran 77 Subset Parser - November 1988                           #
#     Copyright 1988 - John R. Levine.  All rights reserved.             #
#     Permission is hereby granted to make copies in modified or         #
#     unmodified form so long as this copyright notice is preserved      #
#     and such copies are not made for direct commercial advantage.      #
#                                                                        #
#     Any other use such as incorporation in whole or in part in a       #
#     product offered for sale requires separate permission.             #
#                                                                        #
#     John R. Levine                                                     #
#     P.O. Box 349                                                       #
#     Cambridge MA 02238-0349                                            #
#                                                                        #
#     Internet/uucp: Levine@yale.edu    MCI Mail:  103-7498              #
#                                                                        #
##########################################################################

CFLAGS=-g
CC=gcc
YFLAGS=-vdlt
OBJS=fparse.o ftnlex.o fmain.o

ftn:	$(OBJS)
	${CC} $(CFLAGS) -o $@ $(OBJS)

fparse.o:	fparse.c ftn.h

fparse.c fparse.h:	fparse.y
		yacc $(YFLAGS) fparse.y
		mv y.tab.c fparse.c
		mv y.tab.h fparse.h

ftnlex.o:	ftnlex.c fparse.h ftn.h

fmain.o:	fmain.c fparse.h ftn.h

#%.o:	%.c
#	${CC} -c ${CFLAGS} $<

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -