aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2022-03-22 16:42:04 +0000
committerYann Herklotz <git@yannherklotz.com>2022-03-22 16:42:04 +0000
commit0580932cb0da7fac6b8aa5f5b98beb824a3fff50 (patch)
treedee9ac61de199e037ca58dad248a486fc0ccb848 /Makefile
parent8681d039abc5b2beac21ee17d7d944b00552aef6 (diff)
downloadvericert-0580932cb0da7fac6b8aa5f5b98beb824a3fff50.tar.gz
vericert-0580932cb0da7fac6b8aa5f5b98beb824a3fff50.zip
Fix Makefiles in build and for benchmarks
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e9df0dd..5e1ae44 100644
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,7 @@ COQMAKE := $(COQBIN)coq_makefile
COQDOCFLAGS := --no-lib-name -l
VS := src/Compiler.v src/Simulator.v src/HLSOpts.v $(foreach d, common hls bourdoncle, src/$(d)/*.v)
+LIT := $(wildcard lit/*.org)
PREFIX ?= .
@@ -85,6 +86,9 @@ clean:: Makefile.coq
$(MAKE) -C test clean
rm -f Makefile.coq
+detangle-all:
+ $(foreach vs,$(VS),emacs --batch --find-file $(vs) --eval "(progn(require 'org)(require 'ob-tangle)(org-babel-detangle))")
+
clean::
rm -f */*.v.d */*.glob */*.vo */*~ *~
rm -f src/extraction/*.ml src/extraction/*.mli