aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-02-14 15:47:07 +0000
committerYann Herklotz <git@yannherklotz.com>2020-02-14 15:47:07 +0000
commit5a86c7bb8c274ea41716b9002189d2644eb1c8c6 (patch)
treeed2a718bda8bbccbb19e9eb4bec12964b24c083b /Makefile
parent9b0bc37b1943a7d8c00ba74a7a943a303fb965d6 (diff)
downloadvericert-5a86c7bb8c274ea41716b9002189d2644eb1c8c6.tar.gz
vericert-5a86c7bb8c274ea41716b9002189d2644eb1c8c6.zip
Update makefile and Coq dependencies with CompCert
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ef58ed..eff7f35 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,9 @@
-COQINCLUDES=-R src/CoqUp CoqUp
+COMPCERTRECDIRS=lib common $(ARCHDIRS) backend cfrontend driver flocq exportclight \
+ MenhirLib cparser
+
+COMPCERTCOQINCLUDES=$(foreach d, $(RECDIRS), -R lib/CompCert/$(d) compcert.$(d))
+
+COQINCLUDES=-R src/CoqUp CoqUp $(COMPCERTCOQINCLUDES)
COQEXEC=$(COQBIN)coqtop $(COQINCLUDES) -batch -load-vernac-source
COQMAKE="$(COQBIN)coq_makefile"
@@ -8,6 +13,8 @@ VS=$(wildcard src/CoqUp/*.v)
.PHONY: all install coq clean
all:
+ (cd lib/CompCert && ./configure x86_64-linux)
+ $(MAKE) -C lib/CompCert all
$(MAKE) coq
$(MAKE) compile