aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile.build
diff options
context:
space:
mode:
authorGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2017-07-03 16:37:25 +0200
committerGravatar Pierre Letouzey <pierre.letouzey@inria.fr>2017-07-05 09:29:49 +0200
commit7d1fc1501dd89e6e72c07a36e60ef027b0ae2746 (patch)
tree5399573ea50eb98822d97dc02a3fcf19397984d3 /Makefile.build
parent35e0f327405fb659c7ec5f9f7d26ea284aa45810 (diff)
Makefile: fails if some .vo or .cm* file has no source
This should help preventing weird compilation failures due to leftover object files after deleting or moving some source files By the way: - use plain $(filter-out ...) instead of a 'diff' macro (thanks Jason for the suggestion) - rename FIND_VCS_CLAUSE into FIND_SKIP_DIRS since it contains more than version control stuff nowadays
Diffstat (limited to 'Makefile.build')
-rw-r--r--Makefile.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.build b/Makefile.build
index 0dafde997..ed1959cff 100644
--- a/Makefile.build
+++ b/Makefile.build
@@ -85,7 +85,7 @@ include Makefile.dev ## provides the 'printers' and 'revision' rules
# coqdep_boot (for the .v.d files) or grammar.cma (for .ml4 -> .ml -> .ml.d).
DEPENDENCIES := \
- $(addsuffix .d, $(MLFILES) $(MLIFILES) $(MLLIBFILES) $(CFILES) $(VFILES))
+ $(addsuffix .d, $(MLFILES) $(MLIFILES) $(MLLIBFILES) $(MLPACKFILES) $(CFILES) $(VFILES))
-include $(DEPENDENCIES)