#################################################################### #################################################################### # Makeinc.include - NWS R.Rozumalski (12/99) # # NOTE: This file is included by the: # $(WS_ETA)/src/config/Makeinc.common # ################################################################# # # # Special definitions for compiling/linking/etc INSTALL = cp -f RANLIB = : MAKE = make # # The ansi-c compiler # C Options include: -O optimization; -p profiling; -g debugging # -Aa ANSI Compiling (NOTE:options only available in unbundled C cmplr) # NOTE THE DIFFERENT OPTIMIZATION LEVELS: +O{optlevel} #TO CC = gcc CC = cc CFLAGS = F_LINK = -Bstatic # THE FOLLOWING COMPILER DEFINITIONS ARE FOR DIFFERENT COMPILERS # Multiple CPU systems (Portland Group Compiler (PGF90) # COMP = -DLINUX_PGC #TO F90 = pgf90 F90 = f90 FC = $(F90) #TO MFOPT = -O2 -fast -Mconcur -Kieee #TO SFOPT = -O2 -fast -Kieee #TO EFOPT = -Mvect=prefetch -Ktrap=fp #TO FFLAGS = $(MFOPT) FFLAGS = -C vsafe # Comment out the FFLAGS below for Multiple CPU systems (Portland Group) # Uncommented means single CPU system # #TO FFLAGS = $(SFOPT) # ABSOFT compiler options # #COMP = -DLINUX_ABS #F90 = f90 #FC = f77 #SFOPT = -O -s -lU77 #EFOPT = #FFLAGS = $(SFOPT) ## Define compile,link,archive, & remove variables ## (leave as is) ## #TO ANSI = -ansi #TO FFLAGSA = $(FFLAGS) #TO CFLAGS = $(COPT) $(ANSI) COMPILE.f = $(FC) $(FFLAGS) -c LINK.f = $(FC) $(FFLAGS) COMPILE.c = $(CC) $(CFLAGS) -c LINK.c = $(CC) $(LDFLAGS)