Changes by: Jason Hickey (jyh at cs.caltech.edu)
Date: 2003-11-15 11:45:35 -0800 (Sat, 15 Nov 2003)
Revision: 268
Log message:
Fixed a problem with scanner dependencies.
Note, .SCANNER rules are now like other implicit rules: if the
dependencies can't be built, the rule is not used. For example,
this rule would never fire on most systems:
.SCANNER: %.o: %.c /garbage
...
This can be a little dangerous. Consider the following rule,
which will not be used if $(OCAMLDEP) can't be built.
.SCANNER: %.cmi: %.mli $(OCAMLDEP)
...
The correct way to state this is with a dependency:
.SCANNER: %.cmi: $(OCAMLDEP)
.SCANNER: %.cmi: %.mli
...
This will force the dependency on OCAMLDEP.
Changes | Path |
+37 -30 | omake-branches/jyh_2003_11_15/src/build/omake_build.ml |
+12 -13 | omake-branches/jyh_2003_11_15/src/env/omake_env.ml |
+1 -1 | omake-branches/jyh_2003_11_15/src/env/omake_env.mli |