# ------- file: ------------------------- Makefile ---------------- ## ## Makefile for recombination calculation recfast # include makefile.$(CPU).$(OS) LIB = -lm ## --- Define groups of object files -- ---------------- ## CFLAGS = -g -v UTILOBJ = nrutil.o ludcmp.o lubksb.o odeint.o\ dpzextr.o simpr.o stifbs.o OBJECTS = main.o evalode.o cosmology.o \ saha.o derivs.o integrate.o\ ## --- Rules for the executables -- ---------------- ## run: $(OBJECTS) $(UTILOBJ) $(CC) -o $@ $(OBJECTS) $(UTILOBJ) $(LIB) ## --- General .c.o rule -- ---------------- ## .c.o: $(CC) -c $(CFLAGS) $< ## --- Explicit dependencies on include files -- ---------------- ## main.o: integrate.h input.h nrutil.h ludcmp.o: nrutil.h lubksb.o: nrutil.h saha.o: constant.h evalode.o: atom.h constant.h integrate.h input.h nrutil.h derivs.o: integrate.h nrutil.h integrate.o: integrate.h input.h nrutil.h odeint.o: integrate.h nrutil.h cosmology.o: constant.h input.h nrutil.h