Files
mercury/extras/lex/Mmakefile
Zoltan Somogyi 89b3e1dca3 Add "ft=make" to the modelines of Mmakefiles.
Add some missing .PHONY markers, and delete a stray .PHONY marker.

Add some missing copyright years.
2025-05-05 07:58:50 +10:00

33 lines
1022 B
Makefile

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab ft=make
#-----------------------------------------------------------------------------#
# Copyright (C) 2011 The University of Melbourne.
# Copyright (C) 2015, 2024-2025 The Mercury team.
# This file may only be copied under the terms of the GNU Library General
# Public License - see the file COPYING.LIB in the Mercury distribution.
#-----------------------------------------------------------------------------#
# This is file exists so that do an `mmake' from the top-level of the extras
# distribution works. The actual work of building this library is done
# using the Makefile and mmc --make. This file just fowards all the work
# to there.
MAIN_TARGET = build
.PHONY: build
build:
$(MAKE) all
# Do nothing, mmc --make will handle this for us.
#
.PHONY: depend
depend:
.PHONY: install
install:
$(MAKE) install INSTALL_PREFIX=$(INSTALL_PREFIX)/extras
.PHONY: realclean
realclean:
$(MAKE) realclean