Files
mercury/extras/curses/Ncurses.options
Julien Fischer b84e4853f0 Improvements for building extras/curses.
Separate out the configuration for linking against ncurses as has just be done
for extras/curs.

Update programming style.

extras/curses/Ncurses.options:
extras/curses/Mmakefile:
extras/curses/sample/Mmakefile:
     Shift the flags for linking against ncurses to Ncurses.options.

     Document how to use the ncursesN-config and pkg-config tools to find
     the appropriate flags for a system.

extras/curses/mcurses.basics.m:
extras/curses/mcurses.user.m:
     Update syntax and programming style.

     Replace tabs with spaces and delete trailing whitespace.
2022-01-23 22:03:19 +11:00

27 lines
761 B
Plaintext

# The flags for linking against ncurses.
#
# The default value below should work on most systems. If it does not you can
# find the exact value for you system by either:
#
# 1. Running the command:
#
# $ ncursesN-config --libs
#
# where N is the version of ncurses installed on your system
# (e.g. 6, 5, 5.4 etc).
#
# 2. Running the command:
#
# $ pkg-config --libs --static ncurses
#
# This second method will only work if the pkg-config utility is available
# on your system.
#
# You can override this variable directly on the command line with the output
# of one of the above methods by doing, for example:
#
# $ mmake depend NCURSES_LIBS="$(ncurses6-config --libs)"
# $ mmake NCURSES_LIBS="(ncurses6-config --libs$)"
#
NCURSES_LIBS = -lncurses