mirror of https://github.com/python/cpython.git
errors.c: clear traceback too.
Makefile.in: remove lib*.a before creating new one.
This commit is contained in:
parent
b1ba03f045
commit
24f4850377
|
@ -20,7 +20,7 @@ DLINCLDIR= @DLINCLDIR@
|
|||
# === Other things that are customizable but not by configure ===
|
||||
|
||||
INCLDIR= $(srcdir)/../Include
|
||||
OPT= -O
|
||||
OPT= @OPT@
|
||||
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
|
||||
|
||||
MKDEP= mkdep
|
||||
|
@ -52,6 +52,7 @@ SYSLIBS= -lm
|
|||
all: $(LIB)
|
||||
|
||||
$(LIB): $(OBJS)
|
||||
-rm -f $(LIB)
|
||||
$(AR) cr $(LIB) $(OBJS)
|
||||
$(RANLIB) $(LIB)
|
||||
|
||||
|
|
Loading…
Reference in New Issue