#

SRCS=main.f90 \
     rdinoutdir.f90 rdwork.f90 rdlistrn.f90 rdindices.f90 \
     getfilnm.f90 getfilnm30.f90 samewave.f90 \
     rddowning.f90 rdshettle.f90 rdkou.f90 rdwagner_supercooled.f90 \
     rdwarren_ice.f90 rdclapp_ice.f90 rdtisdale.f90 \
     rdniedziela_h2so4.f90 rdmyhre_h2so4.f90 \
     rdbiermann_h2so4.f90 rdpalmer_williams_h2so4.f90 \
     rdgrainger_volcanic_ash.f90 \
     rdmyhre_hno3.f90 rdnorman_hno3.f90 rdbiermann_hno3.f90 \
     rdquerry_tyler_hno3_h2o.f90 rdremsberg_h2so4_hno3.f90 \
     rdmyhre_ternary.f90 rdniedziela_nad.f90 \
     rdrichwine_nat.f90 rdtoon_psc.f90 \
     rdsutherland_khanna.f90 rdmagi_biomass_fire.f90 \
     rdstagg_carbon.f90 rdchang_flame_soot.f90 \
     rdquerry_diesel_soot.f90 \
     rdalexander_brown_carbon.f90 \
     rdmyhre_organic_acids.f90 rdhasenkopf_organic_haze.f90 \
     rdzarzana_soa.f90 \
     rdquerry_minerals.f90 rdtoon_minerals.f90 \
     rdwagner_sahara_dust.f90 rdsinyuk_saharan_dust.f90 \
     rdhenning_sio2_lowtemp.f90 rdzeidler_sio2_hightemp.f90 \
     rdbegemann_al2o3.f90 rdhenning_feo.f90 rdposch_catio3.f90 \
     rdtriaud_fe2o3.f90 rdjena_fe2sio4.f90 rdfabian_fe2sio4.f90 \
     rdfabian_mgal2o4.f90 rdjager_mg2sio4.f90 rdjager_sio3.f90 \
     rdzeidler_tio2_rutile.f90 rdzeidler_tio2_anatase.f90 \
     rdposch_tio2_brookite.f90 rdquerry_kcl.f90 rdquerry_zns.f90 \
     rdkhare_titan_tholins.f90 rdramirez_titan_aerosol.f90 \
     rddingle_soa.f90 rdliu_soa_acp.f90 rdliu_soa_est.f90 \
     rddeguine_ash.f90 rd_imanaka.f90 \
     rddibiagio_desert.f90 rdreed_volcanic.f90 rdhe_soa.f90 \
     rdfang_soa.f90 rdhashemi_vanillic.f90 rdshepherd_wood.f90 \
     rdchehab_kaolinite.f90 rdherbin_quartz.f90 rdjovanovic_pluto.f90 \
     wrindices_orig.f90 calcwave.f90 wrindices_interp.f90 \
     calcsized.f90 wrsize.f90 \
     calcext.f90 bhmie.f90 wrext.f90 

FFLAGS= -O2

# netCDF routines are not used in the fortran_ascii program
# instead, the program will read in the ascii file of the indices
# NETCDFLIB= -L/usr/local/lib -lnetcdf -lnetcdff -I/usr/local/include/

# User will likely need to edit this line to specify the unix operating system
SET2= -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/

# User will need to edit this line to specify the user's fortran compiler
SET3= -L/usr/pgi/linux86-64/14.9/lib/ -lgfortran

# graphics are not used in the fortran_ascii program
# GRAPHICS= -L/usr/local/ncarg/lib -lncarg -lncarg_gks -lncarg_c
# GRAPHICS2= -L/usr/X11R6/lib -lXpm -lX11 -lXext

# User will need to edit these lines to specify the user's fortran compiler
prg: $(SRCS)
	gfortran $(FFLAGS) -o prg $(SRCS)  -L/usr/local/lib  \
	$(SET2) $(SET3)

# $(NETCDFLIB) $(GRAPHICS) $(GRAPHICS2) $(SET2) $(SET3)
