mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-27 15:24:00 +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.
35 lines
1.0 KiB
Plaintext
35 lines
1.0 KiB
Plaintext
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab
|
|
#-----------------------------------------------------------------------------#
|
|
# This source file is hereby placed in the public domain. -fjh (the author).
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
MAIN_TARGET=all
|
|
|
|
depend: c_main.depend
|
|
all: c_main
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# Pass `-g' to the C compiler and linker, so we can use a debugger (e.g. gdb).
|
|
MGNUCFLAGS=-g
|
|
|
|
# Tell the Mercury linker that the Mercury stuff we're building
|
|
# should not define the C function main().
|
|
MLFLAGS=--no-main -g
|
|
|
|
# Tell the Mercury linker to link with main.o.
|
|
MLOBJS=main.o
|
|
|
|
MCFLAGS-c_main=--no-warn-nothing-exported
|
|
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
main.o: mercury_lib.mh
|
|
|
|
# make sure that `mmake clean' removes main.o
|
|
clean_local:
|
|
rm -f main.o
|
|
|
|
#-----------------------------------------------------------------------------#
|