blob: cfa48feafd6ec3eea30961c782358e4b1f7725dc [file] [log] [blame]
Guido van Rossum661aebc1997-07-19 23:14:13 +00001#! /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
9cp ../../Misc/Makefile.pre.in .
10cp ../../Modules/xxmodule.c .
11echo xx xxmodule.c >Setup.in
12
13make -f Makefile.pre.in boot
14make Makefile
15make static