home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / binutils-2.7-src.tgz / tar.out / fsf / binutils / gprof / configure.bat < prev    next >
DOS Batch File  |  1996-09-28  |  480b  |  19 lines

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