miniupnpc-libevent/Makefile: add /usr/local/include and /usr/local/lib
This commit is contained in:
parent
33a5ebf367
commit
c9e71676a8
|
@ -1,9 +1,9 @@
|
||||||
# $Id: Makefile,v 1.5 2014/11/17 16:27:35 nanard Exp $
|
# $Id: Makefile,v 1.7 2014/11/28 13:14:19 nanard Exp $
|
||||||
|
|
||||||
OS = $(shell uname -s)
|
OS = $(shell uname -s)
|
||||||
|
|
||||||
CFLAGS = -O0 -g -DDEBUG
|
CFLAGS = -O0 -g -DDEBUG
|
||||||
# libevent debug
|
# libevent debug
|
||||||
CFLAGS += -DUSE_DEBUG
|
CFLAGS += -DUSE_DEBUG
|
||||||
|
|
||||||
CFLAGS += -fPIC
|
CFLAGS += -fPIC
|
||||||
|
@ -11,8 +11,10 @@ CFLAGS += -ansi
|
||||||
CFLAGS += -Wall -W
|
CFLAGS += -Wall -W
|
||||||
CFLAGS += -D_BSD_SOURCE
|
CFLAGS += -D_BSD_SOURCE
|
||||||
CFLAGS += -D_POSIX_C_SOURCE=200112L
|
CFLAGS += -D_POSIX_C_SOURCE=200112L
|
||||||
|
CFLAGS += -I/usr/local/include
|
||||||
|
|
||||||
LDFLAGS = -levent
|
LDFLAGS = -levent
|
||||||
|
LDFLAGS += -L/usr/local/lib
|
||||||
|
|
||||||
ifeq ($(OS), Darwin)
|
ifeq ($(OS), Darwin)
|
||||||
CFLAGS += -D_DARWIN_C_SOURCE
|
CFLAGS += -D_DARWIN_C_SOURCE
|
||||||
|
|
Loading…
Reference in New Issue