Files
mercury/benchmarks/progs/icfp2000_par/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

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