REM This batch file is used to compile and link a DIGITAL Visual Fortran 
REM program that calls CDF library functions. 
REM Change the CDF directories that are being used for the include and library
REM before the batch file is executed. Make sure that dfvars.bat 
REM is executed if the batch file is there. Also, dynamic library, dllcdf.dll,
REM should be in PATH environment variable.
REM
df /c /extend_source=132 /iface:nomixed_str_len_arg /nowarn /include:"c:\program files (x86)\cdf_distribution\cdf39_0-dist\include" /optimize:0 /D"_FILE_OFFSET_BITS=64" /D"_LARGEFILE64_SOURCE" /D"_LARGEFILE_SOURCE" /D "WIN32" %1.f
link /out:%1.exe %1.obj "c:\program files (x86)\cdf_distribution\cdf39_0-dist\lib\dllcdf.lib" /nodefaultlib:libcd /nodefaultlib:libcmt /nodefaultlib:libcmtd
 
