--- chemshift/makefile 2009-01-09 16:08:00.000000000 +0100 +++ chemshift/makefile.new 2009-04-09 11:30:34.179824057 +0200 @@ -64,7 +64,7 @@ # rule to compile executable compile: $(BASE_NAME).$(COMPILER) $(BASE_NAME).$(COMPILER) : print ${OBJS} - $(F77) $(FFLAGS) -o $@ $(OBJS) $(LINKFLAGS) + $(F77) $(FFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LINKFLAGS) # rule to compile object files: .$(COMPILER).%.o: %.f --- chemshift/make.system 2009-01-09 16:08:00.000000000 +0100 +++ chemshift/make.system.new 2009-04-09 11:35:16.126466293 +0200 @@ -61,16 +61,14 @@ # defaults F77=f77 -FFLAGS= FOPTIMFLAGS=-O FDEBUGFLAGS=-g FPROFILEFLAGS=-P ifeq ($(COMPILER),gnu) - F77 = g77 - FFLAGS = -finline-functions -funroll-loops -W -ffixed-line-length-132 -Wimplicit - FOPTIMFLAGS = -O -ffast-math -malign-double - FDEBUGFLAGS = -g -Wall -Wimplicit -Wsurprising -Wformat -W + F77 = $(FORTRANC) + FOPTIMFLAGS = + FDEBUGFLAGS = FPROFILEFLAGS = -pg endif