5 if
[ $$?
= 0 ]; then echo
"Compiling for IBM"; \
7 $(MAKE
) FC
="xlf90_r" CC
="cc" FFLAGS
="-qfree" CFLAGS
="" LDFLAGS
="" CPPFLAGS
="-D_METGRID -DIO_NETCDF" ) \
9 uname
-s | grep OSF1
; \
10 if
[ $$?
= 0 ]; then echo
"Compiling for DEC"; \
12 $(MAKE
) FC
="f90" CC
="cc" FFLAGS
="" CFLAGS
="" LDFLAGS
="" CPPFLAGS
="-D_METGRID -DIO_NETCDF" ) \
14 uname
-s | grep IRIX
; \
15 if
[ $$?
= 0 ]; then echo
"Compiling for SGI"; \
17 $(MAKE
) FC
="f90" CC
="cc" FFLAGS
="" CFLAGS
="" LDFLAGS
="" CPPFLAGS
="-D_METGRID -DIO_NETCDF" ) \
19 uname
-s | grep Linux
; \
20 if
[ $$?
= 0 ]; then echo
"Compiling for Linux"; \
22 $(MAKE
) WRF_DIR
="/users/duda/repos/WRFV3" FC
="ncargf90" CC
="pgcc" FFLAGS
="-Mfree -byteswapio -g -Mbounds" CFLAGS
="" LDFLAGS
="-g -Mbounds -byteswapio" CPPFLAGS
="-D_METGRID -DIO_NETCDF -D_UNDERSCORE" ) \
24 uname
-s | grep SunOS
; \
25 if
[ $$?
= 0 ]; then echo
"Compiling for Sun"; \
27 $(MAKE
) FC
="f90" CC
="cc" FFLAGS
="" CFLAGS
="" LDFLAGS
="" CPPFLAGS
="-D_METGRID -DIO_NETCDF" ) \
29 echo
"Unrecognized system."; \
35 rm -f plotgrid.exe
; ln
-s src
/plotgrid.exe plotgrid.exe
38 ( rm -f plotgrid.exe
; cd src
; make
clean )
40 rm -f plotgrid.exe
; (cd src
; make
clobber )