ares_inet_ntop.3: s/socklen_t/ares_socklen_t
[platform/upstream/c-ares.git] / Makefile.m32
index 120aad3..4275f91 100644 (file)
@@ -1,5 +1,4 @@
 #############################################################
-# $Id$
 #
 ## Makefile for building libcares.a with MingW32 (GCC-3.2)
 ## Use: make -f Makefile.m32 [demos]
 
 LIB    = libcares.a
 
+AR     = ar
 CC     = gcc
 LD     = gcc
 RANLIB = ranlib
 #RM    = rm -f
 
-CFLAGS = -O2 -Wall
+CFLAGS = -O2 -Wall -I.
 LDFLAGS        = -s
 LIBS   = -lwsock32
 
@@ -27,7 +27,7 @@ OBJLIB        := $(patsubst %.c,%.o,$(strip $(CSOURCES)))
 
 
 $(LIB): $(OBJLIB)
-       ar cru $@ $^
+       $(AR) cru $@ $^
        $(RANLIB) $@
 
 all: $(LIB) demos