ar called through parametarizable macro.
authorK. Richard Pixley <rich@cygnus>
Tue, 14 May 1991 16:30:22 +0000 (16:30 +0000)
committerK. Richard Pixley <rich@cygnus>
Tue, 14 May 1991 16:30:22 +0000 (16:30 +0000)
bfd/Makefile.in

index e73faf386f9c77723acd83c71dcea062371a1696..22bcb459807af575a9576d2813aafeafbae097cf 100644 (file)
@@ -22,7 +22,8 @@
 srcdir = .
 
 RANLIB = ranlib
-AR = 
+AR = ar
+AR_FLAGS = clq
 INCDIR = $(srcdir)/../include
 CSEARCH = -I$(INCDIR)
 DEP = mkdep
@@ -55,8 +56,8 @@ OFILES = $(BFD_LIBS) $(BFD_BACKENDS)
 
 $(TARGETLIB): $(OFILES)
         rm -f $(TARGETLIB)
-        ar clq $(TARGETLIB) $(OFILES)
-        ranlib $(TARGETLIB)
+        $(AR) $(AR_FLAGS) $(TARGETLIB) $(OFILES)
+        $(RANLIB) $(TARGETLIB)
 
 stage1: force
        - mkdir stage1