Commit fc243b10 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

porting

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.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 2134
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent b3919285
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: fortranaffio.h,v 1.3 2006-05-16 15:00:25 tforb Exp $
* $Id: fortranaffio.h,v 1.4 2006-06-14 07:50:25 tforb Exp $
* \author Thomas Forbriger
* \date 16/05/2006
*
......@@ -13,6 +13,7 @@
*
* REVISIONS and CHANGES
* - 16/05/2006 V1.0 Thomas Forbriger
* - 13/06/2006 V1.1 we have to increase the iterator :-)
*
* ============================================================================
*/
......@@ -21,9 +22,9 @@
#ifndef TF_FORTRANAFFIO_H_VERSION
#define TF_FORTRANAFFIO_H_VERSION \
"TF_FORTRANAFFIO_H V1.0 "
"TF_FORTRANAFFIO_H V1.1 "
#define TF_FORTRANAFFIO_H_CVSID \
"$Id: fortranaffio.h,v 1.3 2006-05-16 15:00:25 tforb Exp $"
"$Id: fortranaffio.h,v 1.4 2006-06-14 07:50:25 tforb Exp $"
#include <aff/iterator.h>
#include <tfxx/fortranio.h>
......@@ -36,7 +37,7 @@ template<class C>
void readaff(tfxx::fortranio::FortranBinInput& is, C& s)
{
aff::Iterator<C> i(s);
while (i.valid()) { is >> *i; }
while (i.valid()) { is >> *i; ++i; }
}
} // namespace fortranio
......
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id: Makefile,v 1.11 2005-07-07 07:52:07 tforb Exp $
# $Id: Makefile,v 1.12 2006-06-14 07:50:25 tforb Exp $
#
# Copyright (c) 2002 by Thomas Forbriger (IMG Frankfurt)
#
......@@ -15,6 +15,7 @@
# ============================================================================
#
CPPFLAGS=-I$(LOCINCLUDEDIR) -I$(SERVERINCLUDEDIR) -I$(BLITZINCLUDE)
CFLAGS=-I$(LOCINCLUDEDIR) -I$(SERVERINCLUDEDIR) -I$(BLITZINCLUDE)
LDFLAGS=-L$(SERVERLIBDIR) -L$(LOCLIBDIR) -L$(BLITZLIB)
CXXFLAGS=-Wall $(FLAGS)
......@@ -25,7 +26,6 @@ FCFLAGS=-Wall -ffixed-line-length-0 -fno-backslash
CC=gcc
F2CFLAGS=-f -u
CFLAGS=
all:
......@@ -56,7 +56,7 @@ ALLTESTS=$(CXXTESTS) $(FORTRANTEST)
$(addsuffix .o,$(FORTRANTEST)): %.o: %.f
f2c $(F2CFLAGS) $<
$(CC) $(CFLAGS) $(<:.f=.c) -c
$(CC) -c $(CFLAGS) $(<:.f=.c)
@rm $(<:.f=.c)
$(addsuffix .o77,$(FORTRANTEST)): %.o77: %.f
......
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