diff options
author | Guido van Rossum <guido@python.org> | 1997-07-19 19:39:57 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-19 19:39:57 (GMT) |
commit | f6ca6aa8696ff232d2c755fb97cf9264c753d036 (patch) | |
tree | 12c6a607a0bc7474fe6f1427fb3de8826026f706 /Objects | |
parent | 914fbd9ae67fd86cfe99e5e5139f2af82deb44e3 (diff) | |
download | cpython-f6ca6aa8696ff232d2c755fb97cf9264c753d036.zip cpython-f6ca6aa8696ff232d2c755fb97cf9264c753d036.tar.gz cpython-f6ca6aa8696ff232d2c755fb97cf9264c753d036.tar.bz2 |
New build procedure.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/Makefile.in | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Objects/Makefile.in b/Objects/Makefile.in index 2d6c087..e2dee62 100644 --- a/Objects/Makefile.in +++ b/Objects/Makefile.in @@ -4,6 +4,8 @@ # === Variables set by config.stat === +VERSION= @VERSION@ + srcdir= @srcdir@ VPATH= @srcdir@ @@ -44,20 +46,19 @@ SRCS= abstract.c \ sliceobject.c stringobject.c \ tupleobject.c typeobject.c -LIB= libObjects.a - +LIBRARY= ../libpython$(VERSION).a # === Rules === -all: $(LIB) +all: $(OBJS) -$(LIB): $& $(OBJS) - -rm -f $(LIB) - $(AR) cr $(LIB) $(OBJS) - $(RANLIB) $(LIB) +# This target is used by the master Makefile to add the objects to the library +add2lib: $(OBJS) + $(AR) cr $(LIBRARY) $(OBJS) + touch add2lib clean: - -rm -f *.o core *~ [@,#]* *.old *.orig *.rej + -rm -f *.o core *~ [@,#]* *.old *.orig *.rej add2lib clobber: clean -rm -f *.a tags TAGS |