#!/bin/csh
#
# DART software - Copyright UCAR. This open source software is provided
# by UCAR, "as is", without charge, subject to all terms of use at
# http://www.image.ucar.edu/DAReS/DART/DART_download
#
# DART $Id$

# we need to preprocess kinds.F90.   the following works on gfortran
# 

# but if it doesn't, you can try this to explicitly preprocess F90 -> f90 first,
# and change the path_names file to include the .f90 file instead of .F90:
#
# rm -f ../enkf/kinds.f90
# /usr/bin/cpp -P -D_REAL8_ -traditional-cpp ../enkf/kinds.F90 > ../enkf/kinds.f90

../../../../build_templates/mkmf -p gsi_to_dart -t ../../../../build_templates/mkmf.template   \
 -c " -D_REAL8_" -a "../../../.." -w path_names_gsi_to_dart  # Note the "-w" for MPI build

exit $status

# <next few lines under version control, do not edit>
# $URL$
# $Revision$
# $Date$

