Commits

eric_t committed b8db64a

Added makefile to arrays.

Comments (0)

Files changed (1)

+FC=gfortran
+FFLAGS=-fdefault-real-8 -g -Wall -Werror -fbounds-check
+
+OBJS=functions.o array_operations.o arrays.o
+
+arrays: $(OBJS)
+	$(FC) $(FFLAGS) -o arrays $(OBJS) 
+
+%.o: %.f95
+	$(FC) $(FFLAGS) -c $<
+
+.PHONY: clean
+
+clean:
+	rm -f *.o *.mod 
+