2 echo Configuring gprof for go32
\r
3 rem This batch file assumes a unix-type "sed" program
\r
5 echo # Makefile generated by "configure.bat"> Makefile
\r
7 if exist config.sed del config.sed
\r
9 echo "/^###$/ i\ ">>config.sed
\r
10 echo "MY_MACHINE=i386\ ">>config.sed
\r
11 echo "CC=gcc ">>config.sed
\r
13 echo # >> config.sed
\r
15 sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed
\r
16 sed -f config2.sed Makefile.in >> Makefile
\r