?? makefile
字號(hào):
## elcirc makefile# Mike Zulauf 04/30/03# Note: If you do not wish to use the hdf input for heat exchange and wind model, leave out SFLUX# and LIBDIR below, and comment out subroutines get_wind and surf_fluxes inside elcirc source # (ELCIRC) (you can do this by searching for "get_wind" and "surf_fluxes" inside).### the executable and source code names (without extensions)#EXEC = zelcirc5_01_01cELCIRC = elcirc5_01_01cDSRC2 = dsrc2cSFLUX = sflux_subs5## comment out the following line if you don't want the build dependent# upon the makefile, otherwise use the name of the makefile## MAKEFILE = makefile## location of HDF libraries#LIBDIR = /home/mazulauf/amb10xx/lib/x86## compiler name#FC = ifc## compilation flags#FFLAGS = -O3 -Bstatic## the libraries#LIBS = -L$(LIBDIR) -lmfhdf -ldf -ljpeg -lz## the object files#OBJS = $(ELCIRC).o $(DSRC2).o $(SFLUX).o## the actual build commands#$(EXEC): $(OBJS) $(MAKEFILE) $(FC) $(FFLAGS) $(OBJS) $(LIBS) -o $(EXEC)$(ELCIRC).o: $(ELCIRC).f90 $(MAKEFILE) $(FC) -c $(FFLAGS) $(ELCIRC).f90$(DSRC2).o: $(DSRC2).f90 $(MAKEFILE) $(FC) -c $(FFLAGS) $(DSRC2).f90$(SFLUX).o: $(SFLUX).f90 $(MAKEFILE) $(FC) -c $(FFLAGS) $(SFLUX).f90## how to clean _all_ up#clean: rm -f *.o *.mod $(EXEC)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -