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

there were continuing problems with calls idate that don't

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.
seem to be Y2K proof (this time in merse.f)
updated refracts Makefile!


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 171
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent eec97dae
......@@ -8,6 +8,7 @@ c
c REVISIONS and CHANGES
c 09/01/98 V1.0 Thomas Forbriger
c 13/01/98 V1.1 allow trace selection
c 13/05/00 V1.2 do not use idate anymore (it's not Y2K proof)
c
c==============================================================================
c
......@@ -119,6 +120,9 @@ c prepare file header information
sc3=0
c
call idate(today)
today(1)=99
today(2)=01
today(3)=01
write(sdate, '(3(i2.2))') today(3), today(2), today(1)
stime='000000.000'
call time_clear(htime)
......
......@@ -8,7 +8,7 @@ LINLIB=-llapex -lblasex
# LINLIB=-lf2cimslmath
BUGGY=
F2CLIB=-lf2c -lm -L${SERVERLIBDIR}
F2CFLAGS=-f -u
F2CFLAGS=-f -u -Iinclude
PGPLOTLIB=-lf2cpgplot52 -lX11 -L/usr/X11/lib
#PGPLOTLIB=-lpgplot52 -lX11 -L/usr/X11/lib
CC=gcc
......@@ -22,13 +22,14 @@ LIBSFF=-lf2cstuff -L$(SERVERLIBDIR)
GFLAG=
FC=g77
REFOBS=refract.o refract_readdata.o refract_skipdata.o refract_setdefaults.o \
REFSUB=refract_readdata.o refract_skipdata.o refract_setdefaults.o \
refract_mpc.o refract_setfullrange.o refract_pgframe.o refract_settracevp.o \
refract_pgtrace.o refract_setscale.o refract_doplot.o refract_loopaction.o \
refract_pgframeact.o refract_setflags.o refract_setpara.o \
refract_selstyle.o refract_pgnamscal.o refract_pgfilenames.o \
refract_varplot.o refract_pgparameters.o refract_ttreduce.o \
refract_message.o refract_dopicks.o refract_domodel.o
REFOBS=refract.o $(addprefix sub/, $(REFSUB))
include make.incdep
......@@ -37,18 +38,12 @@ include make.incdep
.f.o:
f2c $(F2CFLAGS) $<
$(CC) $(CFLAGS) $(GFLAG) $(<:.f=.c) -c
@rm $(<:.f=.c)
$(CC) $(CFLAGS) $(GFLAG) $(notdir $(<:.f=.c)) -c -o $@
@rm $(notdir $(<:.f=.c))
clean:
-/bin/rm *.o *.bak
#refract: $(REFOBS)
# $(FC) $(FFLAGS) -o $(LOCBINDIR)/refract $(REFOBS) \
# -ltf -lts -ltime -lf2cstuff \
# $(PGPLOTLIB) \
# -L$(LOCLIBDIR) -L$(SERVERLIBDIR)
refract: $(REFOBS)
$(CC) -o $(LOCBINDIR)/refract $(REFOBS) \
-ltf -lts -ltime -lf2cstuff \
......
Supports Markdown
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