Makefile 880 Bytes
Newer Older
1
SOURCES= code-tweetnacl.tex collection.bib conclusion.tex coq.tex highlevel.tex intro.tex lowlevel.tex preliminaries.tex proofs.tex rfc.tex t.bib tweetverif.tex tweetnacl.diff
benoit's avatar
benoit committed
2

3
4
tweetverif.pdf: ${SOURCES}
	pdflatex tweetverif.tex
5
	bibtex tweetverif
6
7
	pdflatex tweetverif.tex
	pdflatex tweetverif.tex
benoit's avatar
benoit committed
8

9
10
11
12
13
14
15
16
17
18
19

tweetnacl.diff:
	@echo $(BOLD)$(YELLOW)"Generating tweetnacl.diff"$(NO_COLOR)$(DARKGRAY)
	diff -u ../proofs/vst/c/tweetnacl.c ../proofs/vst/c/tweetnaclVerifiableC.c > tweetnacl.diff.tmp; [ $$? -eq 1 ]
	sed -i -e 1,2d tweetnacl.diff.tmp
	echo '--- tweetnacl.c' >> tweetnacl.diff
	echo '+++ tweetnaclVerifiableC.c' >> tweetnacl.diff
	cat tweetnacl.diff.tmp >> tweetnacl.diff
	rm tweetnacl.diff.tmp


20
.PHONY: clean
benoit's avatar
benoit committed
21

Benoit Viguier's avatar
Benoit Viguier committed
22
clean:
23
24
25
26
27
	-rm tweetverif.aux
	-rm tweetverif.log
	-rm tweetverif.out
	-rm tweetverif.pdf
	-rm tweetverif.thm
28
29
30
	-rm tweetverif.bbl
	-rm tweetverif.blg
	-rm tweetverif.brf