mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
errors.c: clear traceback too.
Makefile.in: remove lib*.a before creating new one.
This commit is contained in:
parent
b1ba03f045
commit
24f4850377
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,7 @@ DLINCLDIR= @DLINCLDIR@
|
||||||
# === Other things that are customizable but not by configure ===
|
# === Other things that are customizable but not by configure ===
|
||||||
|
|
||||||
INCLDIR= $(srcdir)/../Include
|
INCLDIR= $(srcdir)/../Include
|
||||||
OPT= -O
|
OPT= @OPT@
|
||||||
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
|
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
|
||||||
|
|
||||||
MKDEP= mkdep
|
MKDEP= mkdep
|
||||||
|
@ -52,6 +52,7 @@ SYSLIBS= -lm
|
||||||
all: $(LIB)
|
all: $(LIB)
|
||||||
|
|
||||||
$(LIB): $(OBJS)
|
$(LIB): $(OBJS)
|
||||||
|
-rm -f $(LIB)
|
||||||
$(AR) cr $(LIB) $(OBJS)
|
$(AR) cr $(LIB) $(OBJS)
|
||||||
$(RANLIB) $(LIB)
|
$(RANLIB) $(LIB)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue