Files
mercury/samples/Mmakefile
Zoltan Somogyi d33273d033 Tell vim not to expand tabs in Makefiles.
This file-specific setting will override a default setting of expandtabs
in $HOME/.vimrc.

*/Makefile:
*/Mmakefile:
    As above.

tests/hard_coded/.gitignore:
    Don't ignore the purity subdir. This ignore must have been left over
    from when purity.m was a test in hard_coded, not hard_coded/purity,
    and it ignored an executable, not a directory.
2015-01-08 22:07:29 +11:00

31 lines
932 B
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
# 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 calculator2 sort eliza ultra_sub e \
interpreter expand_terms
DEPENDS=$(PROGS:%=%.depend)
MAIN_TARGET=all
#-----------------------------------------------------------------------------#
# targets
.PHONY: all
all : $(PROGS)
.PHONY: depend
depend: $(DEPENDS)
#-----------------------------------------------------------------------------#