Mercurial > cpython-lru_cache-weakref
diff Python/Makefile.in @ 5859:64f9ce999437 legacy-trunk
New build procedure.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sat, 19 Jul 1997 19:39:57 +0000 |
| parents | b7871ca930ad |
| children | 2a172b4950b6 |
line wrap: on
line diff
--- a/Python/Makefile.in Sat Jul 19 19:38:43 1997 +0000 +++ b/Python/Makefile.in Sat Jul 19 19:39:57 1997 +0000 @@ -4,6 +4,8 @@ # === Variables set by config.stat === +VERSION= @VERSION@ + srcdir= @srcdir@ VPATH= @srcdir@ @@ -46,22 +48,20 @@ traceback.o \ $(LIBOBJS) -LIB= libPython.a - -SYSLIBS= -lm +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
