@echo off
echo Configuring gprof for go32
rem This batch file assumes a unix-type "sed" program

echo # Makefile generated by "configure.bat"> Makefile
echo # Configured for NDmake >> Makefile
echo LONGARGS = gcc:ar >> Makefile
echo CC=gcc >> Makefile
echo MACHINE=i386>> Makefile

if exist config.sed del config.sed

echo # >> config.sed

sed -e "s/^\"//" -e "s/\"$//" -e "s/[ 	]*$//" config.sed > config2.sed
sed -f config2.sed Makefile.in >> Makefile
del config.sed
del config2.sed
