aboutsummaryrefslogtreecommitdiff
path: root/mathcomp/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'mathcomp/Makefile.common')
-rw-r--r--mathcomp/Makefile.common6
1 files changed, 4 insertions, 2 deletions
diff --git a/mathcomp/Makefile.common b/mathcomp/Makefile.common
index df43b4f..b1603e6 100644
--- a/mathcomp/Makefile.common
+++ b/mathcomp/Makefile.common
@@ -58,12 +58,14 @@ Makefile.coq: pre-makefile $(COQPROJECT) Makefile
ifneq "$(TEST_SKIP_BUILD)" ""
TEST_DEP :=
+MATHCOMP_PATH := -R test_suite mathcomp.test_suite
else
TEST_DEP := build
+MATHCOMP_PATH := -R . mathcomp
endif
test_suite/test_hierarchy_all.v: $(TEST_DEP)
- COQBIN=$(COQBIN) ocaml ../etc/utils/hierarchy.ml -verify -R . mathcomp \
+ COQBIN=$(COQBIN) ocaml ../etc/utils/hierarchy.ml -verify $(MATHCOMP_PATH) \
-lib all_ssreflect \
-lib all_algebra \
-lib all_field \
@@ -73,7 +75,7 @@ test_suite/test_hierarchy_all.v: $(TEST_DEP)
> test_suite/test_hierarchy_all.v
Makefile.test-suite.coq: test_suite/test_hierarchy_all.v
- $(COQMAKEFILE) $(COQMAKEFILEOPTIONS) -f Make.test-suite -o Makefile.test-suite.coq
+ $(COQMAKEFILE) $(COQMAKEFILEOPTIONS) -f Make.test-suite $(MATHCOMP_PATH) -o Makefile.test-suite.coq
# Global config, build, clean and distclean --------------------------
config: sub-config this-config