Files
mercury/samples/diff/Mmakefile
Andrew Bromage 5d9c15639c General cleanup and bug fix for diff. Features of this diff:
Estimated hours taken: 4

General cleanup and bug fix for diff.  Features of this diff:

	- Changed indenting so it more closely matches the
	  coding standard.

	- Bug fix which was causing it to bomb out if the two
	  files were identical.

	- Update to use unique arrays (array.m).

samples/diff/README:
	Added something which resembles this log message.

samples/diff/Mmakefile:
	Turned C optimisation off to get around a gcc 2.7.2 bug.

samples/diff/diff.m:
samples/diff/diffs.m:
samples/diff/file.m:
samples/diff/lcss.m:
samples/diff/lcsstype.m:
	Changes detailed above.
1997-07-28 06:00:55 +00:00

18 lines
579 B
Plaintext

# An example of a *short* Mmake file
# In fact you don't really need any Mmake file at all,
# just `mmake diff.depend; mmake diff' is enough.
# But `mmake depend; mmake' is standard, so we will
# define a target `depend' and a default target `all'
# to make that work.
MAIN_TARGET=all
depend: diff.depend
all: diff
# Unfortunately, diff does not work quite properly when compiled under gcc
# 2.7.2 under Digital Unix 3.2 due to a bug in the compiler. The bug was
# fixed in 2.7.2.1, so feel free to comment out this line if you're using
# an unbuggy compiler.
MGNUCFLAGS=-O0