home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / pyos2bin.zip / Demo / extend / make_static < prev    next >
Text File  |  1997-07-19  |  360b  |  16 lines

  1. #! /bin/sh
  2.  
  3. # This script tests and demonstrates the mechanism for building a
  4. # static Python binary with an additional extension module using the
  5. # generic Makefile.pre.in from the Misc directory.
  6.  
  7. ./make_clean
  8.  
  9. cp ../../Misc/Makefile.pre.in .
  10. cp ../../Modules/xxmodule.c .
  11. echo xx xxmodule.c >Setup.in
  12.  
  13. make -f Makefile.pre.in boot
  14. make Makefile
  15. make static
  16.