mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-15 01:13:30 +00:00
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.
31 lines
803 B
Makefile
31 lines
803 B
Makefile
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab
|
|
#-----------------------------------------------------------------------------#
|
|
# Copyright (C) 2001-2007 The University of Melbourne
|
|
# Ralph Becket <rafe@cs.mu.oz.au>
|
|
#
|
|
# To build do:
|
|
#
|
|
# $ make
|
|
#
|
|
# The targets are called lex_demo and regex_demo.
|
|
#
|
|
# Ensure you have built and installed the lex and regex libraries.
|
|
# Change the following line as appropriate if you installed them
|
|
# elsewhere:
|
|
#
|
|
#EXTRA_LIB_DIR := $(INSTALL_PREFIX)/lib/mercury
|
|
EXTRA_LIB_DIR := ../lib/mercury
|
|
|
|
EXTRA_LIBRARIES = lex regex
|
|
EXTRA_LIBRARIES_FLAGS = $(EXTRA_LIBRARIES:%= --ml %)
|
|
|
|
MAIN_TARGET = all
|
|
|
|
.PHONY: all check
|
|
|
|
all: lex_demo regex_demo
|
|
|
|
%: %.m
|
|
mmc --make --mld $(EXTRA_LIB_DIR) $(EXTRA_LIBRARIES_FLAGS) $@
|