Files
mercury/extras/curses/Mmakefile
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

31 lines
867 B
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
# Copyright (C) 2000-2003 The University of Melbourne.
# Copyright (C) 2015-2018, 2022 The Mercury team.
# This file is distributed under the terms specified in COPYING.LIB.
#-----------------------------------------------------------------------------#
include Ncurses.options
# This is needed to avoid conflicts with `bool'
CFLAGS = -DMERCURY_BOOTSTRAP_H
INSTALL_PREFIX := $(INSTALL_PREFIX)/extras
# Check that the values in the file Ncurses.options are appropriate for
# linking against ncurses on your system.
MLLIBS = $(NCURSES_LIBS)
-include ../Mmake.params
default_target: libmcurses
depend: mcurses.depend
install: libmcurses.install
.PHONY: check
check:
true