|
|
|
@ -35,7 +35,10 @@ CFLAGS=-O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter $(D
@@ -35,7 +35,10 @@ CFLAGS=-O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter $(D
|
|
|
|
|
|
|
|
|
|
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data) |
|
|
|
|
|
|
|
|
|
ifdef USE_UPNP |
|
|
|
|
ifndef USE_UPNP |
|
|
|
|
override USE_UPNP = - |
|
|
|
|
endif |
|
|
|
|
ifneq (${USE_UPNP}, -) |
|
|
|
|
LIBPATHS += -L"$(DEPSDIR)/miniupnpc" |
|
|
|
|
LIBS += -l miniupnpc -l iphlpapi |
|
|
|
|
DEFS += -DSTATICLIB -DUSE_UPNP=$(USE_UPNP) |
|
|
|
|