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

new works for g77 target too

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: 1717
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent 2dbcadf7
#
# $Id: Makefile,v 2.5 2000-10-12 16:26:18 forbrig Exp $
# $Id: Makefile,v 2.6 2005-06-03 09:15:47 tforb Exp $
#
# Makefile for prog/plot/refract
#
......@@ -12,6 +12,7 @@ BUGGY=
F2CLIB=-lf2c -lm -L${SERVERLIBDIR}
F2CFLAGS=-f -u -Iinclude
PGPLOTLIB=-lf2cpgplot52 -lX11 -L/usr/X11/lib
PGPLOTLIB77=-lpgplot52 -lX11 -L/usr/X11/lib
#PGPLOTLIB=-lpgplot52 -lX11 -L/usr/X11/lib
CC=gcc
CFLAGS=-O2 -I${SERVERINCLUDEDIR} -I${LOCINCLUDEDIR}
......@@ -45,6 +46,10 @@ include make.incdep
$(CC) $(CFLAGS) $(GFLAG) $(notdir $(<:.f=.c)) -c -o $@
@rm $(notdir $(<:.f=.c))
%.o77: %.f
$(FC) -o $@ -c $< -O2 -Wall -ffixed-line-length-0 -fno-backslash \
-Iinclude
clean:
-/bin/rm flist
find . \( -name \*.o -o -name \*.bak \) | xargs rm -v
......@@ -55,6 +60,13 @@ refract: $(REFOBS)
$(PGPLOTLIB) \
-L$(LOCLIBDIR) $(F2CLIB)
refract77: $(patsubst %.o,%.o77,$(REFOBS))
$(FC) -o $@ $^ \
-ltf77 -lsffu77 -lts77 -ltime77 -lsff77 \
$(PGPLOTLIB77) \
-L$(LOCLIBDIR)
newprog $@
docs: $(DOCS)
make.incdep: *.f sub/*.f
......
c this is <refract_opt.inc>
c------------------------------------------------------------------------------
c $Id: refract_opt.inc,v 2.1 2000-07-29 15:25:20 thof Exp $
c $Id: refract_opt.inc,v 2.2 2005-06-03 09:15:48 tforb Exp $
c
c 17/03/98 by Thomas Forbriger (IfG Stuttgart)
c
......@@ -48,7 +48,7 @@ c common blocks
& opt_Tannotate,
& opt_Fpicks, opt_Farrival, opt_Ftaper, opt_Fmodel
common /refract_optI/ opt_Lwidth, opt_Lmax, opt_Cmax, opt_Smode
common /refract_optR/ opt_Tscale, opt_Cbgrgb(3), opt_Cfgrgb(3),
common /refract_optR/ opt_Tscale, opt_Cbgrgb, opt_Cfgrgb,
& opt_Sxmin, opt_Sxmax, opt_Stmin, opt_Stmax,
& opt_Sexp, opt_Samp, opt_Sclip, opt_Svel,
& opt_Sminoff, opt_Sradius, opt_Tmodx, opt_Tmodt,
......
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