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

added Makefile

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: 18
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent ab45cda7
# ---------------------------------------
#
# $Header: /home/tforb/svnbuild/cvssource/CVS/thof/src/ts/plot/Makefile,v 1.1 2000-02-09 17:45:11 thof Exp $
#
# Makefile fuer /server/users/thof/work/src/ts/plot
#
# $Log: not supported by cvs2svn $
#
# ---------------------------------------
F2CLIB=-lf2c -lm -L${SERVERLIBDIR}
PGPLOTLIB=-lf2cpgplot52 -lX11 -L/usr/X11/lib
G77FLAGS=-Wall -ffixed-line-length-0 -fno-backslash
PGPLOTLIB77=-lpgplot52 -lX11 -L/usr/X11/lib
#PGPLOTLIB=-lf2cpgplot -lX11 -L/usr/X11/lib
#PGPLOTLIB=-lpg -lgrx20
#CC=gcc
DIRS=-L$(SERVERLIBDIR) -L$(LOCLIBDIR) -I$(SERVERINCLUDEDIR) -I$(LOCINCLUDEDIR)
F2CFLAGS=-f -u
CFLAGS=-O2
OPTFLAGS=-O2
FC=g77
.f.o:
f2c $(F2CFLAGS) $<
$(CC) $(CFLAGS) $(<:.f=.c) -c -I${SERVERINCLUDEDIR} -I$(LOCINCLUDEDIR)
@rm $(<:.f=.c)
%.o77: %.f
$(FC) -o $@ -c $< $(OPTFLAGS) $(G77FLAGS)
clean:
-/bin/rm *.o *.bak *.o77
licestat: licestat.o
$(CC) licestat.o -o licestat -lstuff -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog licestat
licstat: licstat.o
$(CC) licstat.o -o licstat -lstuff -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog licstat
flamops: flamops.o
$(CC) flamops.o -o flamops -lemod -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog flamops
susplo: susplo.o
$(CC) $^ -o $@ -ltf -lf2cstuff $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog $@
splot: splot.o
$(CC) splot.o -o splot -ltf -lf2cstuff $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog splot
flamop: flamop.o
$(CC) flamop.o -o flamop -lemod -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog flamop
gem2asc: gem2asc.o
$(CC) gem2asc.o -o gem2asc -lemod -ltf $(F2CLIB) -L$(LOCLIBDIR)
newprog gem2asc
gemmodpg: gemmodpg.o
$(CC) gemmodpg.o -o gemmodpg -lemod -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog gemmodpg
pamo77: pamo.o77
$(FC) $< -o $@ -lstuff -ltf77 \
$(PGPLOTLIB77) -L$(LOCLIBDIR) -L$(SERVERLIBDIR)
newprog $@
pamo: pamo.o
$(CC) pamo.o -o pamo -lf2cstuff -ltf \
$(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog pamo
stuplo: stuplo.o
$(CC) stuplo.o -o stuplo -lf2cstuff -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog stuplo
amppg: amppg.o
$(CC) amppg.o -o amppg -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog amppg
grepg: grepg.o
$(CC) grepg.o -o grepg -ltf $(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog grepg
refract1: refract1.o
$(CC) refract1.o -o refract1 -ltfio -lf2cstuff -lts -ltime -ltf \
$(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog refract1
refract2: refract2.o
$(CC) refract2.o -o refract2 -lf2cstuff -lts -ltime -ltf \
$(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog refract2
refract: refract.o
$(CC) refract.o -o refract -lf2cstuff -lts -ltf \
$(PGPLOTLIB) $(F2CLIB) -L$(LOCLIBDIR)
newprog refract
ttplot: ttplot.o77
g77 $< -o $@ -lttsynt $(PGPLOTLIB77) -ltf77 $(DIRS)
newprog $@
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