3 .SUFFIXES: .F90 .F .i .o .f .f90
7 # CF Name of the fortran compiling system to use
8 # LDFLAGS Flags to the loader
9 # LIBS List of libraries
12 #-----------------------------------------------------------------------------
14 #-----------------------------------------------------------------------------
15 LIBINCLUDE = $(DEVTOP)/include
16 #-----------------------------------------------------------------------------
17 # 3c. IRIX.3.2 (SGI_R4400/SGI_R4000)
18 #-----------------------------------------------------------------------------
20 #FCFLAGS = -I$(LIBINCLUDE) -32
21 #FCFLAGS = -I$(LIBINCLUDE) -mips2 -32 -O0 \
22 # -sopt,-r=3,-so=3,-include=$(LIBINCLUDE) -Nn30000 -Olimit 1500
24 #FDVARLIB = libfdvar.a
26 # /usr/local/lib/libnetcdf.a \
27 # -L/usr/local/ncarg/lib -L/usr/local/lib \
28 # -lncarg -lncarg_gks -lncarg_c -lX11 -lm
31 #CPPFLAGS = -P -I$(LIBINCLUDE)
32 #-----------------------------------------------------------------------------
33 # 3e. DEC_ALPHA (OSF/1)
34 #-----------------------------------------------------------------------------
36 FCFLAGS = -I$(LIBINCLUDE) -convert big_endian
39 # Map Background is WHITE:
40 CPPFLAGS = -I$(LIBINCLUDE) -C -P
41 # Map Background is BLACK:
42 #CPPFLAGS = -I$(LIBINCLUDE) -C -P -DBBKG
46 LIBS = -L/usr/local/ncarg/lib -L/usr/local/lib \
47 -lncarg -lncarg_gks -lncarg_c -lX11 -lm
48 #-----------------------------------------------------------------------------
49 #-----------------------------------------------------------------------------
51 #-----------------------------------------------------------------------------
55 RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o *.i core errs ,* *~ *.a \
56 .emacs_* tags TAGS make.log MakeOut *.f *.mod
57 #-----------------------------------------------------------------------------
58 # Lines from here on down should not need to be changed. They are the
59 # inference rules to compile the code
60 #----------------------------------------------------------------------------
63 $(CPP) $(CPPFLAGS) $*.F > $@
66 $(CPP) $(CPPFLAGS) $*.F > $*.f
67 $(FC) -c -cpp $(FCFLAGS) $*.f
71 $(FC) -c -cpp $(FCFLAGS) $*.F90
74 $(FC) -c -free $(FCFLAGS) $*.f90
77 $(CPP) $(CPPFLAGS) $*.F > $@
81 $(FC) -c $(FCFLAGS) $*.f