replace ar with $(AR) for #4
authorSteven G. Johnson <stevenj@mit.edu>
Fri, 18 Jul 2014 15:35:02 +0000 (11:35 -0400)
committerSteven G. Johnson <stevenj@mit.edu>
Fri, 18 Jul 2014 15:35:02 +0000 (11:35 -0400)
Makefile

index b9e1c06787747a9990afaea37e81184d9afb0446..60f04235279ea7297cd4c9603630583cd432476c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 
 cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
 cc = $(CC) $(cflags)
-
+AR = ar
 
 # meta targets
 
@@ -23,7 +23,7 @@ utf8proc.o: utf8proc.h utf8proc.c utf8proc_data.c
 
 libmojibake.a: utf8proc.o
        rm -f libmojibake.a
-       ar rs libmojibake.a utf8proc.o
+       $(AR) rs libmojibake.a utf8proc.o
 
 libmojibake.so: utf8proc.o
        $(cc) -shared -o libmojibake.so utf8proc.o