summaryrefslogtreecommitdiffstats
path: root/Demo/embed/Makefile
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2001-01-31 22:18:49 (GMT)
committerBarry Warsaw <barry@python.org>2001-01-31 22:18:49 (GMT)
commite98626d93f0885da2861cdb482ac5fe88e29df3c (patch)
tree76adfc92eba5b921fb949bbf45f2c2032887c011 /Demo/embed/Makefile
parent30dbd1429aa3c6e8854ea575ae7dd188ad000aa0 (diff)
downloadcpython-e98626d93f0885da2861cdb482ac5fe88e29df3c.zip
cpython-e98626d93f0885da2861cdb482ac5fe88e29df3c.tar.gz
cpython-e98626d93f0885da2861cdb482ac5fe88e29df3c.tar.bz2
Add targets to make building `loop' and `import' easier. Useful for
debugging memory leaks and the like.
Diffstat (limited to 'Demo/embed/Makefile')
-rw-r--r--Demo/embed/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Demo/embed/Makefile b/Demo/embed/Makefile
index c709ec6..0a4b434 100644
--- a/Demo/embed/Makefile
+++ b/Demo/embed/Makefile
@@ -28,13 +28,16 @@ MODLIBS=
ALLLIBS= $(LIBPYTHON) $(MODLIBS) $(LIBS) $(SYSLIBS)
# Build the demo application
-all: demo
+all: demo loop import
demo: demo.o
$(CC) $(LDFLAGS) demo.o $(ALLLIBS) -o demo
loop: loop.o
$(CC) $(LDFLAGS) loop.o $(ALLLIBS) -o loop
+import: import.o
+ $(CC) $(LDFLAGS) import.o $(ALLLIBS) -o import
+
# Administrative targets
test: demo
@@ -48,4 +51,4 @@ clean:
-rm -f *.o core
clobber: clean
- -rm -f *~ @* '#'* demo loop
+ -rm -f *~ @* '#'* demo loop import