]> git.stg.codes - stg.git/blobdiff - stglibs/Makefile.in
Allow user-defined 'ar' and 'ranlib'.
[stg.git] / stglibs / Makefile.in
index 11dfcfb17b93ead67ffdb6c7da36fcec377aa9b1..a378f4899697919c7521ad99c4e5a8da79b469f8 100644 (file)
@@ -28,11 +28,11 @@ CFLAGS += -fPIC $(SEARCH_DIRS) $(DEFS)
 all: $(PROG)
 
 $(PROG): $(OBJS)
-       ar rc lib$(LIB_NAME).a $(OBJS)
-       ranlib lib$(LIB_NAME).a
+       $(AR) rc lib$(LIB_NAME).a $(OBJS)
+       $(RANLIB) lib$(LIB_NAME).a
 
 clean:
-       rm -f deps $(PROG) *.o *.a *.so tags *.*~ 
+       rm -f deps $(PROG) *.o *.a *.so tags *.*~
 
 install: $(PROG)
 ifeq ($(DEBUG), yes)