diff options
author | Guido van Rossum <guido@python.org> | 2001-01-10 17:11:51 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-01-10 17:11:51 (GMT) |
commit | 3559d1f9b3f33b45de924f5d17dcea6ab949bb41 (patch) | |
tree | aa46bef878d40f1ad03d2b7e78bd980e897fbbda /Demo/embed/Makefile | |
parent | 7339f4c72d2eaf9fef2416d3328207dcc655f578 (diff) | |
download | cpython-3559d1f9b3f33b45de924f5d17dcea6ab949bb41.zip cpython-3559d1f9b3f33b45de924f5d17dcea6ab949bb41.tar.gz cpython-3559d1f9b3f33b45de924f5d17dcea6ab949bb41.tar.bz2 |
Add loop.c -- a test program for repeatedly calling Py_Initialize()
and Py_Finalize(). It seems to dump core right now...
Diffstat (limited to 'Demo/embed/Makefile')
-rw-r--r-- | Demo/embed/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Demo/embed/Makefile b/Demo/embed/Makefile index fb2b1ed..ee0196b 100644 --- a/Demo/embed/Makefile +++ b/Demo/embed/Makefile @@ -32,13 +32,20 @@ all: demo demo: demo.o $(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo +loop: loop.o + $(CC) $(LDFLAGS) loop.o $(ALLLIBS) -o loop + # Administrative targets test: demo ./demo +COMMAND="print 'hello world'" +looptest: loop + ./loop $(COMMAND) + clean: -rm -f *.o core clobber: clean - -rm -f *~ @* '#'* demo + -rm -f *~ @* '#'* demo loop |