Updated for 2.1b2 distribution.
[python/dscho.git] / Demo / extend / make_static
blobcfa48feafd6ec3eea30961c782358e4b1f7725dc
1 #! /bin/sh
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.
7 ./make_clean
9 cp ../../Misc/Makefile.pre.in .
10 cp ../../Modules/xxmodule.c .
11 echo xx xxmodule.c >Setup.in
13 make -f Makefile.pre.in boot
14 make Makefile
15 make static