summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/Makefile.pre.in2
-rw-r--r--Objects/Makefile.in2
-rw-r--r--Parser/Makefile.in2
-rw-r--r--Python/Makefile.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 8ebf62a..0feec27 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -74,7 +74,7 @@ SYSLIBS= $(LIBM) $(LIBC)
all: $(LIB) ../python sharedmods
-$(LIB): $(OBJS) Makefile
+$(LIB): $& $(OBJS) Makefile
-rm -f $(LIB)
$(AR) cr $(LIB) $(OBJS)
$(RANLIB) $(LIB)
diff --git a/Objects/Makefile.in b/Objects/Makefile.in
index 78e9b5a..60a71ca 100644
--- a/Objects/Makefile.in
+++ b/Objects/Makefile.in
@@ -47,7 +47,7 @@ LIB= libObjects.a
all: $(LIB)
-$(LIB): $(OBJS)
+$(LIB): $& $(OBJS)
-rm -f $(LIB)
$(AR) cr $(LIB) $(OBJS)
$(RANLIB) $(LIB)
diff --git a/Parser/Makefile.in b/Parser/Makefile.in
index 6a8fc21..1b8f1f8 100644
--- a/Parser/Makefile.in
+++ b/Parser/Makefile.in
@@ -45,7 +45,7 @@ LIB= libParser.a
all: $(LIB) $(PGEN)
-$(LIB): $(PARSEROBJS)
+$(LIB): $& $(PARSEROBJS)
-rm -f $(LIB)
$(AR) cr $(LIB) $(PARSEROBJS)
$(RANLIB) $(LIB)
diff --git a/Python/Makefile.in b/Python/Makefile.in
index d5ced26..9bbbb34 100644
--- a/Python/Makefile.in
+++ b/Python/Makefile.in
@@ -51,7 +51,7 @@ SYSLIBS= -lm
all: $(LIB)
-$(LIB): $(OBJS)
+$(LIB): $& $(OBJS)
-rm -f $(LIB)
$(AR) cr $(LIB) $(OBJS)
$(RANLIB) $(LIB)