summaryrefslogtreecommitdiff
path: root/coq
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-05-01 12:37:36 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2013-05-01 12:37:36 +0000
commitd18371174552ed29069a34d81d60530df431ac0f (patch)
tree91a8d71e3b428f02e2fdbf76977f3a750204fc22 /coq
parent3a2533890c9c275c38d620f4bcfa4aa76eab19a6 (diff)
Use "-as" to put CompCert modules in a compcert.xxx namespace.
Simplified the scripts "coq" and "pg". Updated deps. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2228 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'coq')
-rwxr-xr-xcoq6
1 files changed, 2 insertions, 4 deletions
diff --git a/coq b/coq
index ce3e1ed..ea08805 100755
--- a/coq
+++ b/coq
@@ -3,8 +3,7 @@
# Use the Makefile to rebuild dependencies if needed
# Recompile the modified file after coqide editing
-ARCH=`sed -n -e 's/^ARCH=//p' Makefile.config`
-VARIANT=`sed -n -e 's/^VARIANT=//p' Makefile.config`
+INCLUDES=`make print-includes`
make -q ${1}o || {
make -n ${1}o | grep -v "\\b${1}\\b" | \
@@ -13,5 +12,4 @@ make -q ${1}o || {
done)
}
-coqide -I lib -I common -I $ARCH/$VARIANT -I $ARCH -I backend -I cfrontend -I flocq -I flocq/Appli -I flocq/Calc -I flocq/Core -I flocq/Prop $1 \
-&& make ${1}o
+coqide $INCLUDES $1 && make ${1}o