mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 03:43:51 +00:00
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.
31 lines
867 B
Plaintext
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
|