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

📄 makefile

📁 把fortran语言编的程序转为c语言编的程序, 运行环境linux
💻
字号:
#	Makefile for f2c, a Fortran 77 to C converterg = -gCFLAGS = $gSHELL = /bin/shOBJECTSd = main.o init.o gram.o lex.o proc.o equiv.o data.o format.o \	  expr.o exec.o intr.o io.o misc.o error.o mem.o names.o \	  output.o p1output.o pread.o put.o putpcc.o vax.o formatdata.o \	  parse_args.o niceprintf.o cds.o sysdep.o version.oOBJECTS = $(OBJECTSd) malloc.oall: xsum.out f2cf2c: $(OBJECTS)	$(CC) $(LDFLAGS) $(OBJECTS) -o f2cgram.c:	gram.head gram.dcl gram.expr gram.exec gram.io defs.h tokdefs.h	( sed <tokdefs.h "s/#define/%token/" ;\		cat gram.head gram.dcl gram.expr gram.exec gram.io ) >gram.in	$(YACC) $(YFLAGS) gram.in	echo "(expect 4 shift/reduce)"	sed 's/^# line.*/\/* & *\//' y.tab.c >gram.c	rm -f gram.in y.tab.c$(OBJECTSd): defs.h ftypes.h defines.h machdefs.h sysdep.htokdefs.h: tokens	grep -n . <tokens | sed "s/\([^:]*\):\(.*\)/#define \2 \1/" >tokdefs.hcds.o: sysdep.hexec.o: p1defs.h names.hexpr.o: output.h niceprintf.h names.hformat.o: p1defs.h format.h output.h niceprintf.h names.h iob.hformatdata.o: format.h output.h niceprintf.h names.hgram.o: p1defs.hinit.o: output.h niceprintf.h iob.hintr.o: names.hio.o: names.h iob.hlex.o : tokdefs.h p1defs.hmain.o: parse.h usignal.hmem.o: iob.hnames.o: iob.h names.h output.h niceprintf.hniceprintf.o: defs.h names.h output.h niceprintf.houtput.o: output.h niceprintf.h names.hp1output.o: p1defs.h output.h niceprintf.h names.hparse_args.o: parse.hproc.o: tokdefs.h names.h niceprintf.h output.h p1defs.hput.o: names.h pccdefs.h p1defs.hputpcc.o: names.hvax.o: defs.h output.h pccdefs.houtput.h: niceprintf.hput.o putpcc.o: pccdefs.hf2c.t: f2c.1t	troff -man f2c.1t >f2c.t#f2c.1: f2c.1t#	nroff -man f2c.1t | col -b | uniq >f2c.1clean:	rm -f gram.c *.o f2c tokdefs.h f2c.tb = Notice README cds.c data.c defines.h defs.h equiv.c error.c \	exec.c expr.c f2c.1 f2c.1t f2c.h format.c format.h formatdata.c \	ftypes.h gram.dcl gram.exec gram.expr gram.head gram.io \	init.c intr.c io.c iob.h lex.c machdefs.h main.c \	malloc.c mem.c memset.c misc.c names.c names.h niceprintf.c \	niceprintf.h output.c output.h p1defs.h p1output.c \	parse.h parse_args.c pccdefs.h pread.c proc.c put.c putpcc.c \	sysdep.c sysdep.h tokens usignal.h vax.c version.c xsum.cbundle:	bundle $b makefile xsum0.out >/tmp/f2c.bundlexsum: xsum.c	$(CC) $(CFLAGS) -o xsum xsum.c#Check validity of transmitted source...xsum.out: xsum $b	./xsum $b >xsum1.out	cmp xsum0.out xsum1.out && mv xsum1.out xsum.out#On non-Unix systems that end lines with carriage-return/newline pairs,#use "make xsumr.out" rather than "make xsum.out".  The -r flag ignores#carriage-return characters.xsumr.out: xsum $b	./xsum -r $b >xsum1.out	cmp xsum0.out xsum1.out && mv xsum1.out xsumr.out

⌨️ 快捷键说明

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