From: Barry Warsaw Date: Wed, 31 Jan 2001 22:18:49 +0000 (+0000) Subject: Add targets to make building `loop' and `import' easier. Useful for X-Git-Tag: v2.1a2~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e98626d93f0885da2861cdb482ac5fe88e29df3c;p=thirdparty%2FPython%2Fcpython.git Add targets to make building `loop' and `import' easier. Useful for debugging memory leaks and the like. --- diff --git a/Demo/embed/Makefile b/Demo/embed/Makefile index c709ec6f0cd9..0a4b4343bfd1 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