aboutsummaryrefslogtreecommitdiff
path: root/contrib/extraction/test/Makefile
diff options
context:
space:
mode:
authorfilliatr2001-04-25 08:10:23 +0000
committerfilliatr2001-04-25 08:10:23 +0000
commit7bdde88e133bb78c4ca6f6bd15e49131fbaf0063 (patch)
tree5a0a79bee0132b400e067e7f2d0d460d61536db4 /contrib/extraction/test/Makefile
parent7da3cb6694b0584f8e01e8c75ca93ff63d8984f0 (diff)
make reals prend en compte tous les .vo de theories/Reals
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1712 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'contrib/extraction/test/Makefile')
-rw-r--r--contrib/extraction/test/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/contrib/extraction/test/Makefile b/contrib/extraction/test/Makefile
index 957cddcf2e..d6d20f0c29 100644
--- a/contrib/extraction/test/Makefile
+++ b/contrib/extraction/test/Makefile
@@ -53,23 +53,15 @@ clean:
# Extraction of Reals
#
-REALSML:= \
-theories/Reals/typeSyntax.ml \
-theories/Reals/addReals.ml \
-theories/Reals/rdefinitions.ml \
-theories/Reals/raxioms.ml \
-theories/Reals/r_Ifp.ml \
-theories/Reals/rbase.ml \
-theories/Reals/rbasic_fun.ml \
-theories/Reals/rlimit.ml \
-theories/Reals/rderiv.ml
-
+REALSALLVO:=$(shell cd ../../..; ls -tr theories/Reals/*.vo)
+REALSVO:=$(filter-out theories/Reals/Rsyntax.vo,$(REALSALLVO))
+REALSML:=$(shell test -x v2ml && ./v2ml $(REALSVO))
REALSCMO:= $(patsubst %.ml,%.cmo,$(REALSML))
reals: all $(REALSML) $(REALSCMO)
realsml:
- ./extract_reals
+ ./extract_reals $(REALSVO)
cp -f addReals.ml theories/Reals
$(REALSML): realsml