# Version 1.0 released by Yi-Chuan Lu on May 20, 2022.
# 
# When using this code, please cite:
# 
# @article{20heatindex,
#   Title   = {Extending the Heat Index},
#   Author  = {Yi-Chuan Lu and David M. Romps},
#   Journal = {Journal of Applied Meteorology and Climatology},
#   Year    = {2022},
#   Volume  = {61},
#   Number  = {10},
#   Pages   = {1367--1383},
#   Year    = {2022},
# }

# GFortran
F90 = gfortran
FFLAGS = -fdefault-real-8

# Intel Fortran
# F90 = ifort
# FFLAGS = -r8

test: heatindex.f90 test.f90
	$(F90) $(FFLAGS) -o $@ $^

.PHONY: clean
clean:
	rm -f *.o *.mod test