aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/CoqMakefile.in
diff options
context:
space:
mode:
authorGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2017-05-23 12:08:14 +0200
committerGravatar Enrico Tassi <Enrico.Tassi@inria.fr>2017-05-23 12:08:14 +0200
commit0ca2fe2e616f303665003bc6cf2d89df385f9394 (patch)
treecb8cf9ef7bf153af3633c68742df53d22491f1ed /tools/CoqMakefile.in
parent19902a9540b028d24be9c078df0471bd589e7c82 (diff)
add the only target
This makes the following work correctly: make only TGTS="foo bar" -j2 note that make foo bar -j2 is not doing what you think
Diffstat (limited to 'tools/CoqMakefile.in')
-rw-r--r--tools/CoqMakefile.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/CoqMakefile.in b/tools/CoqMakefile.in
index 1de7a5c24..fdcd2ed79 100644
--- a/tools/CoqMakefile.in
+++ b/tools/CoqMakefile.in
@@ -278,6 +278,9 @@ validate: $(VOFILES)
$(COQCHK) $(COQCHKFLAGS) $(notdir $(^:.vo=))
.PHONY: validate
+only: $(TGTS)
+.PHONY: only
+
# Documentation targets #######################################################
html: $(GLOBFILES) $(VFILES)