Files
mercury/extras/complex_numbers/tests/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

25 lines
938 B
Plaintext

#-----------------------------------------------------------------------------#
# vim: ts=8 sw=8 noexpandtab
#-----------------------------------------------------------------------------#
#
# COMPLEX_NUMBERS_DIR specifies the location of the complex number library,
# e.g. `/foo/bar/mercury-<version>/extra/complex_numbers'.
COMPLEX_NUMBERS_DIR = ..
# The following stuff tells Mmake to use the complex number library
VPATH = $(COMPLEX_NUMBERS_DIR):$(MMAKE_VPATH)
MCFLAGS = -I$(COMPLEX_NUMBERS_DIR) $(EXTRA_MCFLAGS)
MLFLAGS = -R$(COMPLEX_NUMBERS_DIR) -L$(COMPLEX_NUMBERS_DIR) $(EXTRA_MLFLAGS)
MLLIBS = -lcomplex_numbers $(EXTRA_MLLIBS)
C2INITARGS = $(COMPLEX_NUMBERS_DIR)/complex_numbers.init
MAIN_TARGET = complex_test.res
depend: complex_test.depend
complex_test.out: complex_test
./complex_test > complex_test.out
complex_test.res: complex_test.out complex_test.exp
diff -c complex_test.out complex_test.exp > complex_test.res