summaryrefslogtreecommitdiffstats
path: root/Objects/Makefile.in
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-08-23 14:06:18 (GMT)
committerGuido van Rossum <guido@python.org>1994-08-23 14:06:18 (GMT)
commitf0171a1626164cad064930e60fe5f06ca2c51f8b (patch)
tree6c8b31bdddbf507bf9fec555713dc50867e18c55 /Objects/Makefile.in
parentc561e5dd58ed17ecf0f8fe31b366082bc311e0d9 (diff)
downloadcpython-f0171a1626164cad064930e60fe5f06ca2c51f8b.zip
cpython-f0171a1626164cad064930e60fe5f06ca2c51f8b.tar.gz
cpython-f0171a1626164cad064930e60fe5f06ca2c51f8b.tar.bz2
* configure.in, */Makefile*.in: OPT can now be specified in the
env at configure time and will then be put in all Makefiles as default * */Makefile*.in: remove lib*.a before adding to it
Diffstat (limited to 'Objects/Makefile.in')
-rw-r--r--Objects/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/Makefile.in b/Objects/Makefile.in
index d0c086f..78e9b5a 100644
--- a/Objects/Makefile.in
+++ b/Objects/Makefile.in
@@ -17,7 +17,7 @@ DEFS= @DEFS@
# === Other things that are customizable but not by configure ===
INCLDIR= $(srcdir)/../Include
-OPT= -O
+OPT= @OPT@
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
MKDEP= mkdep
@@ -48,6 +48,7 @@ LIB= libObjects.a
all: $(LIB)
$(LIB): $(OBJS)
+ -rm -f $(LIB)
$(AR) cr $(LIB) $(OBJS)
$(RANLIB) $(LIB)