FFLAGS = -O

# if you use plthm, please adapt the path of your PGPLOT
# library in the line below
PGPLOT = -L/usr/local/pgplot -lpgplot -lX11
# for the PGPLOT software package, look at
# http://www.astro.caltech.edu/~tjp/pgplot/

OBJS  =  main_alcon2.o alcon2.o linalg_alcon2.o linpack_alcon2.o zibconst.o
OBJSPL = main_plthm.o plthm.o

alcon2: $(OBJS)
	$(FC) $(DFLAGS) $(OBJS) -o alcon2
	
plthm: $(OBJSPL)
	$(FC) $(DFLAGS) $(OBJSPL) -o plthm $(PGPLOT)
	
all: alcon2 plthm

clean:
	rm -f $(OBJS) $(OBJSPL) alcon2 plthm
