Commit fb348fda authored by thomas.forbriger's avatar thomas.forbriger
Browse files

src/libs/libaff: eliminated use of FCFLAGS

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.
parent aad15962
......@@ -29,6 +29,8 @@
# 06/12/2002 V1.0 Thomas Forbriger (copied from libcontxx)
# 17/12/2002 V1.1 introduced seriestest
# 22/12/2002 V1.2 started interface test to Fortran 77
# 12/01/2014 V1.3 use FFLAGS instead of FCFLAGS conforming to GNU make
# default rules
#
# ============================================================================
#
......@@ -82,7 +84,7 @@ F2C=f2c
/bin/rm -fv $(<:.f=.c)
%.o: %.f f77common.inc
$(FC) -o $@ -c $< $(FCFLAGS) $(FLAGS)
$(FC) -o $@ -c $< $(FFLAGS) $(FLAGS)
%.code: %.f f77common.inc
$(F2C) -C++ -f -u $<
......
......@@ -12,6 +12,8 @@
# REVISIONS and CHANGES
# 04/07/2002 V1.0 Thomas Forbriger
# 17/01/2011 V1.1 distinguish library creation and installation
# 12/01/2014 V1.2 use FFLAGS instead of FCFLAGS conforming to GNU make
# default rules
#
# ============================================================================
#
......@@ -76,7 +78,7 @@ CPPFLAGS+=-I$(LOCINCLUDEDIR) $(FLAGS)
include $(patsubst %.f,%.d,$(wildcard *.f))
%.o: %.f
$(FC) $(FCFLAGS) $(FCOPTS) -o $@ -c $<
$(FC) $(FFLAGS) $(FCOPTS) -o $@ -c $<
#----------------------------------------------------------------------
# libraries
......
......@@ -31,6 +31,8 @@
# - 28/11/2002 V1.2 added blitztest
# - 28/06/2005 V1.3 disabled blitz
# - 05/12/2007 V1.4 provide test for regex
# 12/01/2014 V1.5 use FFLAGS instead of FCFLAGS conforming to GNU make
# default rules
#
# ============================================================================
#
......@@ -41,7 +43,7 @@ CXXFLAGS=-Wall $(FLAGS)
#CXXFLAGS=$(FLAGS)
FC=g77
FCFLAGS=-Wall -ffixed-line-length-0 -fno-backslash
FFLAGS=-Wall -ffixed-line-length-0 -fno-backslash
CC=gcc
F2CFLAGS=-f -u
......@@ -80,7 +82,7 @@ $(addsuffix .o,$(FORTRANTEST)): %.o: %.f
@rm $(<:.f=.c)
$(addsuffix .o77,$(FORTRANTEST)): %.o77: %.f
$(FC) -c -o $@ $< $(FCFLAGS) $(CPPFLAGS) $(FLAGS)
$(FC) -c -o $@ $< $(FFLAGS) $(CPPFLAGS) $(FLAGS)
$(addsuffix .o,$(CXXTESTS)): %.o: %.cc
$(CXX) -c -o $@ $< $(CXXFLAGS) $(CPPFLAGS) $(FLAGS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment