/*
 *  Description:    This file contains all the directives needed to
 *                  tell ymake how to build NCARG/NCL on a Window
 *                  system running Cygwin.
 *
 *                  The default version of this file assumes you are
 *                  using the GNU compilers, gcc and g77.
 *
 *                  You may need to modify it to change or include
 *                  options.
 */
#define HdfDefines      -DCygwin
#define	StdDefines	-DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -D__UNIXOS2__
#define ByteSwapped
#define	Cstatic	-Wl,-Bstatic
#define	Cdynamic -Wl,-Bdynamic
#define CppCommand '/usr/bin/cpp -traditional'
#define	CCompiler	gcc
#define	FCompiler	gfortran
#define	CtoFLibraries	-lgfortran -lm
#define CcOptions      -ansi
#define FcOptions      -fno-range-check
#define XToolLibrary	-lXt -lSM -lICE
#define BuildShared NO
#define XLibrary -lXpm -lX11 -lXext
#define ExeSuffix exe

#define	ArchRecLibSearch	
#define	ArchRecIncSearch

FC = $(F77)

/*************** Redefine Macros from Rules ********************************/

/*
 * Macro:	MakeDir
 *
 * Description:	This rule creates a directory - if a parent dir doesn't exist
 *		it attempts to create it.
 */
#ifndef	MakeDir
#define	MakeDir(dir)	@if (test ! -d dir); then ($(MKDIRHIER) dir); fi
#endif
