################################################################################################### # FILE: Makefile # # PROCESS NAME: makefile # # MACHINE : Compute Farm (Linux) # # # # FUNCTIONALITY: # # 1) Compiles source code # # # # # # AUTHOR: Nick Novella # # DATE: 201503 # # # ################################################################################################### COMP=gfortran -m32 -frecord-marker=4 -std=legacy #gfortran -m32 -frecord-marker=4 -std=legacy ./prog/get_gpi_qc.f -o ./build/get_gpi_qc.exe FFLAGS=-m32 -frecord-marker=4 -std=legacy SOURCEDIR=./prog BUILDDIR=./build #compile: get_gpi_qc get_gpi_fc ssmiflip rfe_step1_rawdata rfe_step2_preproc rfe_step3_merging rfe_step4_postpro acc get_amsu get_gpi_qc: $(COMP) $(FFLAGS) $(SOURCEDIR)/get_gpi_qc.f -o $(BUILDDIR)/get_gpi_qc.exe get_gpi_fc: $(COMP) $(FFLAGS) $(SOURCEDIR)/get_gpi_fc.f -o $(BUILDDIR)/get_gpi_fc.exe ssmiflip: $(COMP) $(FFLAGS) $(SOURCEDIR)/ssmiflip.f -o $(BUILDDIR)/ssmiflip.exe rfe_step1_rawdata: $(COMP) $(FFLAGS) $(SOURCEDIR)/rfe_step1_rawdata.f -o $(BUILDDIR)/rfe_step1_rawdata.exe rfe_step2_preproc: $(COMP) $(FFLAGS) $(SOURCEDIR)/rfe_step2_preproc.f -o $(BUILDDIR)/rfe_step2_preproc.exe rfe_step3_merging: $(COMP) $(FFLAGS) $(SOURCEDIR)/rfe_step3_merging.f -o $(BUILDDIR)/rfe_step3_merging.exe rfe_step4_postpro: $(COMP) $(FFLAGS) $(SOURCEDIR)/rfe_step4_postpro.f -o $(BUILDDIR)/rfe_step4_postpro.exe acc: $(COMP) $(SOURCEDIR)/acc.f -o $(BUILDDIR)/acc.exe get_amsu: $(COMP) $(SOURCEDIR)/get_amsu.f -o $(BUILDDIR)/get_amsu.exe all: get_gpi_qc get_gpi_fc ssmiflip rfe_step1_rawdata rfe_step2_preproc rfe_step3_merging rfe_step4_postpro acc get_amsu