Skip to content

Commit b7daef5

Browse files
committed
Merge pull request #8 from mistydemeo/makefile
Makefile: support OS X system ncurses
2 parents 7b127c9 + 0502f0f commit b7daef5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ CFLAGS = -W -Wall -pedantic -ansi -std=c99 -g
33

44
LDFLAGS = -lncursesw
55

6+
# OS X installs ncurses with wide character support, but not as "libncurses"
67
ifeq ($(shell uname -s),Darwin)
7-
LDFLAGS += -L /opt/local/lib
8+
LDFLAGS = -lncurses
89
endif
910

1011
PREFIX = /usr/local

0 commit comments

Comments
 (0)