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_alcon1.o alcon1.o linalg_alcon1.o zibconst.o
OBJSPL = main_plthm.o plthm.o

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

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