mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-24 13:53:54 +00:00
Estimated hours taken: 8 Add rot13 examples to the samples directory. Note: Estimated time is time for contributors, mainly. samples/README: samples/c_interface/README: Fix the README files, they were a little inaccurate in describing some files and directories.
30 lines
821 B
Plaintext
30 lines
821 B
Plaintext
#-----------------------------------------------------------------------------#
|
|
# This source file is hereby placed in the public domain. -trd (the author).
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# samples/rot13/Mmakefile - this is the Makefile for building the sample
|
|
# rot13 programs.
|
|
|
|
# To build these programs, first install the Mercury compiler,
|
|
# type `mmake depend', and then type `mmake'.
|
|
|
|
PROGS= rot13_gustavo rot13_juergen rot13_verbose rot13_concise
|
|
|
|
DEPENDS=$(PROGS:%=%.depend)
|
|
|
|
MAIN_TARGET=all
|
|
|
|
MCFLAGS-rot13_concise=--infer-all
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# targets
|
|
|
|
.PHONY: all
|
|
all : $(PROGS)
|
|
|
|
.PHONY: depend
|
|
depend: $(DEPENDS)
|
|
|
|
#-----------------------------------------------------------------------------#
|