mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 04:43:53 +00:00
31 lines
930 B
Plaintext
31 lines
930 B
Plaintext
#-----------------------------------------------------------------------------#
|
|
# Copyright (C) 1995 University of Melbourne.
|
|
# This file may only be copied under the terms of the GNU General
|
|
# Public License - see the file COPYING in the Mercury distribution.
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# samples/Mmake - this is the main part of the Makefile
|
|
# for building the Mercury sample programs.
|
|
|
|
# To build these programs, first install the Mercury compiler,
|
|
# type `mmake depend', and then type `mmake'.
|
|
|
|
PROGS= hello cat calculator sort eliza ultra_sub \
|
|
all_solutions committed_choice interpreter
|
|
|
|
DEPENDS=$(PROGS:%=%.depend)
|
|
|
|
MAIN_TARGET=all
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# targets
|
|
|
|
.PHONY: all
|
|
all : $(PROGS)
|
|
|
|
.PHONY: depend
|
|
depend: $(DEPENDS)
|
|
|
|
#-----------------------------------------------------------------------------#
|