# Makefile for gtool4/libsrc/netcdf

OBJS=netcdf_v3.obj netcdf_error.obj netcdf_filename.obj \
        netcdf_file.obj netcdf_dimension.obj netcdf_variable.obj \
        netcdf_attribute.obj netcdf_slice.obj netcdf_io.obj

$(OBJS):

.f90.obj:
        df/c /mod:..\string $<

.f90.exe:
	df /mod:..\string $< *.obj ..\string\*.obj $(DLIB)\STD\NETCDF.LIB

clean:
	-rm -f *.obj *.mod *.bak

netcdf_dimension.obj: netcdf_file.obj
netcdf_file.obj: netcdf_filename.obj netcdf_error.obj
netcdf_error.obj: netcdf_v3.obj
netcdf_variable.obj: netcdf_dimension.obj
netcdf_attribute.obj: netcdf_variable.obj
netcdf_slice.obj: netcdf_variable.obj
netcdf_io.obj: netcdf_slice.obj
