qulogic/libgnt

Merged in strangeways/main/trac-16764 (pull request #268)
release-2.x.y
2017-09-26, Gary Kramlich
f5832b936b02
Merged in strangeways/main/trac-16764 (pull request #268)

Use accessors when accessing ncurses structures

Approved-by: Eion Robb
Approved-by: Gary Kramlich
Approved-by: Elliott Sales de Andrade
Approved-by: dx
CC=gcc
CFLAGS=`pkg-config --cflags gobject-2.0 gmodule-2.0` -g -I../ -DSTANDALONE -I/usr/include/ncursesw/
LDFLAGS=`pkg-config --libs gobject-2.0 gmodule-2.0 gnt` -pg
EXAMPLES=combo focus tv multiwin keys menu parse
all:
make examples
clean:
rm -f $(EXAMPLES) *.so wm
WM: wm
for i in $(EXAMPLES); do gcc -shared $(CFLAGS) -USTANDALONE $(LDFLAGS) $${i}.c -o $${i}.so ; done
examples: $(EXAMPLES)