#!/bin/bash

#This script does nothing but compile each of the routines in the IAPWS Library.

f90 -c Constants_0.F90 
f90 -c Maths_0.F90
f90 -c Convert_0.F90
f90 -c Flu_1.F90
f90 -c Ice_1.F90
f90 -c Sal_1.F90
f90 -c Air_1.F90

f90 -c Flu_2.F90
f90 -c Ice_2.F90
f90 -c Sal_2.F90
f90 -c Air_2.F90

f90 -c Flu_3a.F90
f90 -c Flu_3b.F90
f90 -c Sea_3a.F90
f90 -c Sea_3b.F90
f90 -c Sea_3c.F90
f90 -c Sea_3d.F90
f90 -c Air_3a.F90
f90 -c Air_3b.F90
f90 -c Air_3c.F90

f90 -c Liq_Vap_4.F90
f90 -c Ice_Vap_4.F90
f90 -c Ice_Liq_4.F90
f90 -c Liq_Ice_Air_4.F90
f90 -c Sea_Vap_4.F90
f90 -c Sea_Liq_4.F90
f90 -c Sea_Ice_4.F90
f90 -c Sea_Ice_Vap_4.F90
f90 -c Liq_Air_4a.F90 Sea_Air_4.F90

f90 -c Liq_Air_4a.F90
f90 -c Liq_Air_4b.F90
f90 -c Liq_Air_4c.F90
f90 -c Ice_Air_4a.F90
f90 -c Ice_Air_4b.F90
f90 -c Ice_Air_4c.F90

f90 -c Flu_IF97_5.F90
f90 -c Ice_Flu_5.F90
f90 -c Liq_F03_5.F90
f90 -c Sea_5a.F90
f90 -c GSW_Library_5.F90
f90 -c Convert_5.F90
f90 -c Air_5.F90
f90 -c OS2008_5.F90

f90 -c Values_Air.F90 
f90 -c Values_CNV.F90 
f90 -c Values_Flu.F90 
f90 -c Values_GSW.F90 
f90 -c Values_Ice.F90 
f90 -c Values_Sal.F90 
f90 -c Values_Sea.F90 
f90 -c Values_Mix.F90 

#rm -rf *.o *.mod a.out
