summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/Makefile.in18
1 files changed, 9 insertions, 9 deletions
diff --git a/Python/Makefile.in b/Python/Makefile.in
index 9fc2de6..de28c23 100644
--- a/Python/Makefile.in
+++ b/Python/Makefile.in
@@ -4,6 +4,8 @@
# === Variables set by config.stat ===
+VERSION= @VERSION@
+
srcdir= @srcdir@
VPATH= @srcdir@
@@ -46,22 +48,20 @@ OBJS= \
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