# # --------------------------------------------------------------------- # common definitions for AMD64 Linux/PGI, OpenMP, real*8 # see http://www.pgroup.com/ for Portland Group f90 compiler # --------------------------------------------------------------------- # # MACROS DESCRIPTIONS: # # FC: Fortran 90 compiler. # FCFFLAGS: Fortran 90 compilation flags. # CC: C compiler. # CCFLAGS: C compilation flags. # CPP: cpp preprocessor (may be implied by FC). # CPPFLAGS: cpp -D macro flags. # LD: Loader. # LDFLAGS: Loader flags. # EXTRALIBS: Extra local libraries (if any). # FC = pgf90 FCFFLAGS = -g -fastsse -tp k8-64 -pc 64 -Knoieee -mp -Mlfs -byteswapio -r8 CC = gcc CCFLAGS = -O CPP = cpp -P CPPFLAGS = -DIA32 -DREAL8 LD = $(FC) LDFLAGS = $(FCFFLAGS) -Wl,-Bstatic EXTRALIBS = # # --- generic make definitions # SHELL = /bin/sh RM = \rm -f # # rules. # .c.o: $(CC) $(CPPFLAGS) $(CCFLAGS) -c $*.c .f.o: $(FC) $(FCFFLAGS) -c $*.f .F.o: $(FC) $(CPPFLAGS) $(FCFFLAGS) -c $*.F