summaryrefslogtreecommitdiff
path: root/coq
diff options
context:
space:
mode:
Diffstat (limited to 'coq')
-rwxr-xr-xcoq5
1 files changed, 4 insertions, 1 deletions
diff --git a/coq b/coq
index b110c54..19edb9a 100755
--- a/coq
+++ b/coq
@@ -1,4 +1,7 @@
#!/bin/sh
# Start coqide with the right -I options
-coqide -I lib -I common -I backend -I cfrontend $1 && make ${1}o
+ARCH=`sed -n -e 's/^ARCH=//p' Makefile.config`
+VARIANT=`sed -n -e 's/^VARIANT=//p' Makefile.config`
+
+coqide -I lib -I common -I $ARCH/$VARIANT -I $ARCH -I backend -I cfrontend $1 && make ${1}o