baytap 发表于 2016-03-03 14:55

Linux系统下运行Fortran程序的makefile

请教一下各位,linux系统下运行的Fortran程序的makefile文件如下:


BIN=../bin/

FTN = g77

FFLAGS = -O2-Wunused -Wno-globals -fno-f2c -fno-automatic -fno-backslash -fno-globals

baytap08: baytap08.f
      $(FTN) $(FFLAGS) baytap08.f -o $(BIN)baytap08

请教一下大家这几行语言具体是什么意思啊?我该如何运行和编译呢?


另外一个问题是:
cat input-file | baytap08 control-file results-file
cat input-file | baytap08 control-file results-file aux-file > output-file
这2句cat是啥意思啊?
非常感谢!
页: [1]
查看完整版本: Linux系统下运行Fortran程序的makefile