# makefile for mesh90 program jea apr90
#  (remember to use tabs)
FC = f77
FFLAGS = -c -v -onetrip
#  driver and main
MAIN = \
driver.o \
mesh90.o \
setup.o
# part most likely to change in new application
APPLY = \
lout.o \
pbcout.o \
pcount.o \
pout.o \
value.o
# library of unchanging subroutines
LIB = \
eightp.o \
elnode.o \
fourpt.o \
ijelem.o\
ijmat.o \
ijmesh.o \
ijnode.o\
ijquad.o \
ijtorz.o \
ijtri.o \
inel.o \
inij.o \
inital.o \
inpts.o \
iprint.o \
laplac.o \
lcount.o \
omitp.o \
plotij.o \
ptcode.o \
pter.o \
rzsize.o \
swap.o \
toot.o \
twopt.o
# library of plotting subroutines
PLOT = \
advanc.o \
finshp.o \
moveto.o \
lineto.o \
startp.o \
windo.o
#postscript plot conversion library
POST = \
../../PlotLib/Archive/libplt.a 
#../../PlotLib/Archive/libplt.a \
# chrcod.o 
# postscript version of CALCOMP plotter, add -lplt
# CALCOMP = /u4/akin/.calcomp/libplt.a
model:	$(MAIN) $(APPLY) $(LIB) $(PLOT)
	f77 -onetrip -o ../mesh $(MAIN) $(APPLY) $(LIB) $(PLOT) $(POST)

#source codes
.o: .f
