From 6ff45fe556d3b49a1506c5882036f909c143ed85 Mon Sep 17 00:00:00 2001 From: Connor Moore Date: Fri, 27 Feb 2026 14:08:37 -0500 Subject: Split up some modules and added a testing class for sectors --- class/makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 class/makefile (limited to 'class/makefile') diff --git a/class/makefile b/class/makefile new file mode 100644 index 0000000..935d1c6 --- /dev/null +++ b/class/makefile @@ -0,0 +1,19 @@ +FC = gfortran +FFLAGS = -Wall -Wextra + +all: test + +mod_globals.o: mod_globals.f90 + $(FC) $(FFLAGS) -c mod_globals.f90 + +mod_sectors.o: mod_sectors.f90 + $(FC) $(FFLAGS) -c mod_sectors.f90 + +test_sectors: mod_sectors_test.f90 mod_globals.o mod_sectors.o + $(FC) $(FFLAGS) -o test_sectors.x mod_sectors_test.f90 mod_globals.o mod_sectors.o + +tests: test_sectors + ./test_sectors.x + +clean: + rm -f *.o *.x *.mod -- cgit v1.2.3