Makefile: support OS X system ncurses
This commit is contained in:
parent
7b127c94f8
commit
0502f0f225
3
Makefile
3
Makefile
@ -3,8 +3,9 @@ CFLAGS = -W -Wall -pedantic -ansi -std=c99 -g
|
|||||||
|
|
||||||
LDFLAGS = -lncursesw
|
LDFLAGS = -lncursesw
|
||||||
|
|
||||||
|
# OS X installs ncurses with wide character support, but not as "libncurses"
|
||||||
ifeq ($(shell uname -s),Darwin)
|
ifeq ($(shell uname -s),Darwin)
|
||||||
LDFLAGS += -L /opt/local/lib
|
LDFLAGS = -lncurses
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr/local
|
||||||
|
Loading…
Reference in New Issue
Block a user