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

  1. #! /bin/sh
  2.  
  3. # This script tests and demonstrates the mechanism for building a
  4. # shared library for 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 '*shared*' >Setup.in
  12. echo xx xxmodule.c >>Setup.in
  13.  
  14. make -f Makefile.pre.in boot
  15. make Makefile
  16. make
  17.