Makefile.m32: add support for extra flags

Allow specification of CARES_{LD,C}FLAG_EXTRAS envvars
for mingw
pull/48/head
Viktor Szakats 9 years ago committed by David Drysdale
parent 3b1ff9da74
commit ebe7b81453
  1. 5
      Makefile.m32

@ -17,9 +17,9 @@ RANLIB = ranlib
#RM = rm -f
CP = cp -afv
CFLAGS = -O2 -Wall -I.
CFLAGS = $(CARES_CFLAG_EXTRAS) -O2 -Wall -I.
CFLAGS += -DCARES_STATICLIB
LDFLAGS = -s
LDFLAGS = $(CARES_LDFLAG_EXTRAS) -s
LIBS = -lwsock32
# Makefile.inc provides the CSOURCES and HHEADERS defines
@ -74,4 +74,3 @@ distclean: clean
ifeq "$(wildcard ares_build.h.dist)" "ares_build.h.dist"
$(RM) ares_build.h
endif

Loading…
Cancel
Save