mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-20 20:03:44 +00:00
32 lines
1010 B
Makefile
32 lines
1010 B
Makefile
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab ft=make
|
|
#-----------------------------------------------------------------------------#
|
|
# Copyright (C) 2011 The University of Melbourne.
|
|
# Copyright (C) 2015, 2018, 2024-2025 The Mercury team.
|
|
# This file is distributed under the terms specified in COPYING.LIB.
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# 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) build INSTALL_PREFIX=$(INSTALL_PREFIX)/extras
|
|
|
|
# The depend target does nothing, mmc --make will handle that for us.
|
|
#
|
|
.PHONY: depend
|
|
depend:
|
|
|
|
.PHONY: install
|
|
install:
|
|
$(MAKE) install INSTALL_PREFIX=$(INSTALL_PREFIX)/extras
|
|
|
|
.PHONY: realclean
|
|
realclean:
|
|
$(MAKE) realclean
|