-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile.coq.local
More file actions
26 lines (21 loc) · 940 Bytes
/
Makefile.coq.local
File metadata and controls
26 lines (21 loc) · 940 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
GLOBFILES = $(VFILES:.v=.glob)
CSSFILES = resources/coqdoc.css resources/coqdocjs.css
JSFILES = resources/config.js resources/coqdocjs.js
HTMLFILES = resources/header.html resources/footer.html
COQDOCDIR = docs/coqdoc
COQDOCHTMLFLAGS = --toc --toc-depth 2 -s --index indexpage --html \
--interpolate --no-lib-name --parse-comments \
--with-header resources/header.html --with-footer resources/footer.html
coqdoc: $(GLOBFILES) $(VFILES) $(CSSFILES) $(JSFILES) $(HTMLFILES)
$(SHOW)'COQDOC -d $(COQDOCDIR)'
$(HIDE)mkdir -p $(COQDOCDIR)
$(HIDE)$(COQDOC) $(COQDOCHTMLFLAGS) $(COQDOCLIBS) -d $(COQDOCDIR) $(VFILES)
$(SHOW)'COPY resources'
$(HIDE)cp $(CSSFILES) $(JSFILES) $(COQDOCDIR)
.PHONY: coqdoc
resources/index.html: resources/index.md
pandoc -s -o $@ $<
run_huffman.ml: src/ex1.ml src/ex2.ml src/Extraction.vo
cat src/ex1.ml huffman.ml src/ex2.ml > run_huffman.ml
clean::
$(HIDE)rm -f huffman.ml huffman.mli run_huffman.ml