Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Makefile to compile conversion utilities. You need to set include and library paths for NETCDF
- #
- PLATFORM := $(shell uname -s)
- #
- ifeq ($(PLATFORM),Linux)
- INC_NETCDF = /home/santiago/Install/netcdf_sam/include
- LIB_NETCDF = /home/santiago/Install/netcdf_sam/lib
- FF = gfortran -O3 -ffixed-line-length-132 -fall-intrinsics -I${INC_NETCDF}
- LDFLAGS = -L${LIB_NETCDF} -lnetcdf -L/usr/lib64 -lpthread
- endif
- #---------------------------------------------------------
- VPATH = ./SRC
- all: bin2D2nc bin3D2nc 2Dbin2nc 2Dbin2nc_mean bin3D2nc_mean com3D2bin 2Dcom2nc 2Dcom2nc_mean com3D2nc com3D2nc_mean com2D2nc stat2evol stat2nc stat2evolnc isccp2nc stat2nc_sp com3D2nc_sep 2Dbin2nc_sep 2Dcom_sep2one 2Dbin_sep2one com3D_sep2one bin3D_sep2one
- stat2evol: stat2evol.f cape_analysis.f hbuf_lib.f
- $(FF) -o $@ -I./SRC ./SRC/stat2evol.f ./SRC/cape_analysis.f ./SRC/hbuf_lib.f ./SRC/sat.f
- .f:
- $(FF) -o $@ -I./SRC $< ./SRC/hbuf_lib.f ./SRC/cape.f ./SRC/cin.f $(LDFLAGS)
- clean:
- rm bin* com* stat* 2* isccp* *.o
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement