Files
mercury/tests/warnings/up_to_date.exp
Simon Taylor 3fda5cf170 With `--make', warn if a target specified on the command line
Estimated hours taken: 1
Branches: main

With `--make', warn if a target specified on the command line
is already up to date.

compiler/make.util.m:
	Check whether a target that was found to be up to date
	was specified on the command line.

compiler/make.m:
	Add the targets specified on the command line to the make_info.

compiler/make.module_target.m:
compiler/make.program_target.m:
compiler/make.dependencies.m:
	Call make__util__maybe_warn_up_to_date_target when a target
	is found to be up to date.

	Remove targets from the list of targets specified on the command
	line as they are processed to avoid generating multiple warnings.

compiler/options.m:
doc/user_guide.texi:
	Add an option `--no-warn-up-to-date'.

tests/warnings/Mmakefile:
tests/warnings/up_to_date.{m,exp}:
	Test case.
2002-10-30 13:32:02 +00:00

2 lines
42 B
Plaintext

** Nothing to be done for `up_to_date.m'.