#!/bin/csh
./cn2 mpfc.h-org >! mpfc.h

swig -c++ -python mpfc.i
./cn mpfc_wrap.cxx
mv mpfc_wrap.cxx mpfc_wrap.cpp1

swig -DMSW -c++ -python mpfc.i
./cn mpfc_wrap.cxx
mv mpfc_wrap.cxx mpfc_wrap.cpp2

#echo Please copy mpfc_wrap.cpp1 to ../
#echo Please copy mpfc_wrap.cpp2 to ../
#echo Please copy mpfc.py to ../mpfc.py
mv -f mpfc_wrap.cpp1 ..
mv -f mpfc_wrap.cpp2 ..
mv -f mpfc.py ..
