#!/bin/sh
HDR=/usr/local/include/
if [ $# -eq 1 ]
then
HDR=$1
fi 
CFLAGS="-std=gnu99 -DHAVE_CONFIG_H -fomit-frame-pointer -fstrict-aliasing -ffast-math -mcpu=970";export CFLAGS
rm -rf usr
h-to-ffi.sh ${HDR}fftw3-mpi.h
h-to-ffi.sh ${HDR}fftw3.h
