build: respect CFLAGS in makefile.mingw
Similar to the other Makefile.
This commit is contained in:
parent
0cc037f8b0
commit
d40daa6f22
|
@ -21,15 +21,18 @@ RM = del
|
||||||
else
|
else
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
endif
|
endif
|
||||||
#CFLAGS = -Wall -g
|
|
||||||
#CPPFLAGS = -DDEBUG -D_WIN32_WINNT=0X501
|
CFLAGS ?= -Os
|
||||||
CFLAGS = -Wall -W -Wstrict-prototypes -Os
|
CFLAGS += -Wall
|
||||||
CPPFLAGS = -DNDEBUG -D_WIN32_WINNT=0X501
|
CFLAGS += -W -Wstrict-prototypes
|
||||||
|
|
||||||
|
CPPFLAGS += -DNDEBUG -D_WIN32_WINNT=0X501
|
||||||
CPPFLAGS += -Iinclude
|
CPPFLAGS += -Iinclude
|
||||||
CPPFLAGS += -I.
|
CPPFLAGS += -I.
|
||||||
LDLIBS = -lws2_32 -liphlpapi
|
|
||||||
# -lwsock32
|
|
||||||
# -liphlpapi is needed for GetBestRoute() and GetIpAddrTable()
|
# -liphlpapi is needed for GetBestRoute() and GetIpAddrTable()
|
||||||
|
LDLIBS = -lws2_32 -liphlpapi
|
||||||
|
|
||||||
PYTHON=\utils\python25\python
|
PYTHON=\utils\python25\python
|
||||||
OBJS=miniwget.o minixml.o igd_desc_parse.o minisoap.o \
|
OBJS=miniwget.o minixml.o igd_desc_parse.o minisoap.o \
|
||||||
minissdpc.o \
|
minissdpc.o \
|
||||||
|
|
Loading…
Reference in New Issue