Commit | Line | Data |
---|---|---|
c06e55d9 KR |
1 | @echo off\r |
2 | echo Configuring gprof for go32\r | |
3 | rem This batch file assumes a unix-type "sed" program\r | |
4 | \r | |
5 | echo # Makefile generated by "configure.bat"> Makefile\r | |
6 | \r | |
7 | if exist config.sed del config.sed\r | |
8 | \r | |
9 | echo "/^###$/ i\ ">>config.sed\r | |
10 | echo "MY_MACHINE=i386\ ">>config.sed\r | |
11 | echo "CC=gcc ">>config.sed\r | |
12 | \r | |
13 | echo # >> config.sed\r | |
14 | \r | |
15 | sed -e "s/^\"//" -e "s/\"$//" -e "s/[ ]*$//" config.sed > config2.sed\r | |
16 | sed -f config2.sed Makefile.in >> Makefile\r | |
17 | del config.sed\r | |
18 | del config2.sed\r |