aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-02-17 19:31:49 +0000
committerYann Herklotz <git@yannherklotz.com>2020-02-17 19:31:49 +0000
commit31176813d3f18db6c7f76257be416b7b8b60b92d (patch)
tree0907a25d4182c123a76900752121dc9538b36f34 /Makefile
parent1d7a8f8e795d2fac612f1730a70c3d69eddb2f45 (diff)
downloadvericert-31176813d3f18db6c7f76257be416b7b8b60b92d.tar.gz
vericert-31176813d3f18db6c7f76257be416b7b8b60b92d.zip
Fix makefile and add travis build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 415f6ee..3f656e2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,15 @@
-COMPCERTRECDIRS=lib common $(ARCHDIRS) backend cfrontend driver flocq exportclight \
+COMPCERTRECDIRS := lib common $(ARCHDIRS) backend cfrontend driver flocq exportclight \
MenhirLib cparser
-COMPCERTCOQINCLUDES=$(foreach d, $(RECDIRS), -R lib/CompCert/$(d) compcert.$(d))
+COMPCERTCOQINCLUDES := $(foreach d, $(RECDIRS), -R lib/CompCert/$(d) compcert.$(d))
-COQINCLUDES=-R src/Common CoqUp.Common -R src/Verilog CoqUp.Verilog -R src/Driver CoqUp.Driver -R src/Extraction CoqUp.Extraction $(COMPCERTCOQINCLUDES)
+COQINCLUDES := -R src/Common CoqUp.Common -R src/Verilog CoqUp.Verilog -R src/Driver CoqUp.Driver -R src/Extraction CoqUp.Extraction $(COMPCERTCOQINCLUDES)
-COQEXEC=$(COQBIN)coqtop $(COQINCLUDES) -batch -load-vernac-source
-COQMAKE="$(COQBIN)coq_makefile"
+COQEXEC := $(COQBIN)coqtop $(COQINCLUDES) -batch -load-vernac-source
+COQMAKE := "$(COQBIN)coq_makefile"
-VS=$(wildcard src/CoqUp/*.v)
+COQUPDIRS := Common Driver Verilog
+VS := $(foreach d, $(COQUPDIRS), src/$(d)/*.v)
.PHONY: all install coq clean