mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-23 05:13:48 +00:00
Estimated hours taken: 0.25 samples/*: Add comment "This source file is hereby placed in the public domain".
20 lines
648 B
Plaintext
20 lines
648 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.
|
|
|
|
# This source file is hereby placed in the public domain. -fjh (the author).
|
|
|
|
MAIN_TARGET=all
|
|
depend: diff.depend
|
|
all: diff
|
|
|
|
# Unfortunately, diff does not work quite properly when compiled with gcc
|
|
# 2.7.2 under Digital Unix 3.2 due to a bug in gcc. 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
|
|
|