CC = gcc FC = gfortran CFLAGS = -Wall -O3 LOPTS = -O3 LIBS = LIBSC = -lm all: infinite-well oscillator-shooting oscillator-eigenproblem infinite-well: infinite-well.o dstev.o ${FC} $(LOPTS) -o $@ $^ $(LIBS) oscillator-eigenproblem: oscillator-eigenproblem.o ${FC} $(LOPTS) -o $@ $^ -llapack #oscillator-eigenproblem: oscillator-eigenproblem.o dstev.o # ${FC} $(LOPTS) -o $@ $^ $(LIBS) oscillator-shooting: oscillator-shooting.o ${CC} $(LOPTS) -o $@ $^ $(LIBSC) clean: rm -f *.o *~ veryclean: rm -f *.o *~ infinite-well oscillator-shooting oscillator-eigenproblem