diff options
Diffstat (limited to 'Makefile.m32')
-rw-r--r-- | Makefile.m32 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.m32 b/Makefile.m32 index 52d9310..4275f91 100644 --- a/Makefile.m32 +++ b/Makefile.m32 @@ -10,12 +10,13 @@ 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 @@ -26,7 +27,7 @@ OBJLIB := $(patsubst %.c,%.o,$(strip $(CSOURCES))) $(LIB): $(OBJLIB) - ar cru $@ $^ + $(AR) cru $@ $^ $(RANLIB) $@ all: $(LIB) demos |