
FC  =  ifort # gfortran # pgf90
Inc = "/work/apps/intel_2016/netcdf/4.3.3.1/"

.SUFFIXES: .f90 .o

.f90.o:
	$(FC) -c $*.f90


#pc1: EOF_Dr.f90 
#	$(FC) -o pc.exe EOF_Dr.f90 -L ${Inc}lib/ -lnetcdff -I ${Inc}include/

pc: PCA_All_2021.f90
	$(FC) -o pc.exe PCA_All_2021.f90 -L ${Inc}lib/ -lnetcdff -I ${Inc}include/

ha: PCA_Ha_2023-Aug.f90
	$(FC) -o pc.exe PCA_Ha_2023-Aug.f90 -L ${Inc}lib/ -lnetcdff -I ${Inc}include/

clean:
	rm -f *.exe

