blob: 935d1c6c63aa91944f48656deb1fb2e4c14d1807 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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
|