mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-12 12:26:29 +00:00
Estimated hours taken: 0.25 samples/*: Add comment "This source file is hereby placed in the public domain".
29 lines
842 B
Plaintext
29 lines
842 B
Plaintext
#-----------------------------------------------------------------------------#
|
|
# This source file is hereby placed in the public domain. -fjh (the author).
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# 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 e \
|
|
all_solutions committed_choice interpreter expand_terms
|
|
|
|
DEPENDS=$(PROGS:%=%.depend)
|
|
|
|
MAIN_TARGET=all
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# targets
|
|
|
|
.PHONY: all
|
|
all : $(PROGS)
|
|
|
|
.PHONY: depend
|
|
depend: $(DEPENDS)
|
|
|
|
#-----------------------------------------------------------------------------#
|