# Version 1.0 released by David Romps on September 12, 2017.
# Version 1.1 vectorized lcl.R, released on May 24, 2021.
# 
# When using this code, please cite:
# 
# @article{16lcl,
#   Title   = {Exact expression for the lifting condensation level},
#   Author  = {David M. Romps},
#   Journal = {Journal of the Atmospheric Sciences},
#   Year    = {2017},
#   Month   = dec,
#   Number  = {12},
#   Pages   = {3891--3900},
#   Volume  = {74}
# }

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

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

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

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