mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 12:53:47 +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.
43 lines
1009 B
Plaintext
43 lines
1009 B
Plaintext
#-----------------------------------------------------------------------------#
|
|
# vim: ts=8 sw=8 noexpandtab
|
|
#-----------------------------------------------------------------------------#
|
|
|
|
# MCFLAGS =
|
|
MCFLAGS = -O6 --intermodule-optimization
|
|
CFLAGS = -DML_OMIT_MATH_DOMAIN_CHECKS
|
|
|
|
-include Mmake.params
|
|
|
|
# The executable that we ship as our final entry should be
|
|
# statically linked
|
|
# MLFLAGS = --static
|
|
|
|
MAIN_TARGET = all
|
|
|
|
all: main
|
|
# test_trans does not compile
|
|
|
|
depend : main.depend
|
|
|
|
tags: *.m
|
|
mtags *.m
|
|
|
|
.PHONY: tar
|
|
tar: main
|
|
-[ -d src ] || mkdir src
|
|
cp *.m Mmakefile src
|
|
tar --exclude=CVS -cf - buildme runme main README src tests examples \
|
|
| gzip -9 > submission.tar.gz
|
|
|
|
info.txt: tar
|
|
{ cat info.txt.base; \
|
|
echo "md5sum: `md5sum submission.tar.gz | awk '{print $$1;}'`"; \
|
|
} > info.txt
|
|
|
|
###
|
|
### uncomment this and run `mmake email-submission' to submit the final entry
|
|
### Don't forget to set MLFLAGS = --static
|
|
###
|
|
#email-submission: tar info.txt
|
|
# ./submit.sh info.txt submission.tar.gz
|