############################################################################### # # Makefile # # You are welcome to use this code for your own research but please # properly cite and attibute: # # Author: # Cameron Bracken, cameron.bracken@gmail.com # # Citation: # C. Bracken, K. Holman, B. Rajagopalan, H. Moradkhani, A Bayesian # hierarchical approach to multivariate nonstationary hydrologic frequency # analysis, Water Resources Research, 2017, Under Review. # # This is the Makefile that builds the sampler and model code. # ############################################################################# FLAGS=-O2 LIBS= FC=gfortran all: functions.mod model.mod mfu_sampler.mod flib.o flib_blas.o functions.mod: functions.f90 $(FC) $(FLAGS) -c functions.f90 flib.o: flib.f $(FC) $(FLAGS) -c flib.f flib_blas.o: flib_blas.f $(FC) $(FLAGS) -c flib_blas.f mfu_sampler.mod: mfu_sampler.f90 $(FC) $(FLAGS) -c mfu_sampler.f90 model.mod: model.f90 $(FC) $(FLAGS) -c model.f90 clean: rm *.o *.mod