diff options
| author | Connor Moore <connor@hhmoore.ca> | 2026-02-27 14:08:37 -0500 |
|---|---|---|
| committer | Connor Moore <connor@hhmoore.ca> | 2026-02-27 14:08:37 -0500 |
| commit | 6ff45fe556d3b49a1506c5882036f909c143ed85 (patch) | |
| tree | 6ff69d8ee98361a3d531472fbe67c3cbb55ac9b6 /class/makefile | |
| parent | 6dd6792a16954b0004cb35d14a5b25de0627c69d (diff) | |
Split up some modules and added a testing class for sectors
Diffstat (limited to 'class/makefile')
| -rw-r--r-- | class/makefile | 19 |
1 files changed, 19 insertions, 0 deletions
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 |
