File: Mmakefile

package info (click to toggle)
mercury 0.9-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 18,488 kB
  • ctags: 9,800
  • sloc: objc: 146,680; ansic: 51,418; sh: 6,436; lisp: 1,567; cpp: 1,040; perl: 854; makefile: 450; asm: 232; awk: 203; exp: 32; fortran: 3; csh: 1
file content (22 lines) | stat: -rw-r--r-- 744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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.
#
# BTW, the predicate which isn't compiled correctly is diff_out__show_file_2
# in diff_out.m.
MGNUCFLAGS=-O0