* 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
This commit is contained in:
Guido van Rossum 1994-08-23 14:06:18 +00:00
parent c561e5dd58
commit f0171a1626
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,7 @@ DEFS= @DEFS@
# === 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
@ -48,6 +48,7 @@ LIB= libObjects.a
all: $(LIB) all: $(LIB)
$(LIB): $(OBJS) $(LIB): $(OBJS)
-rm -f $(LIB)
$(AR) cr $(LIB) $(OBJS) $(AR) cr $(LIB) $(OBJS)
$(RANLIB) $(LIB) $(RANLIB) $(LIB)