blob: bb42417482f868a51412bdc5f1aa0e5d32eeda0a (
plain)
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
|
COMPCERTRECDIRS := lib common verilog backend cfrontend driver cparser
COQINCLUDES := -Q . predaware \
-R ../vericert/src vericert \
$(foreach d, $(COMPCERTRECDIRS), -R ../vericert/lib/CompCert/$(d) compcert.$(d)) \
-R ../vericert/lib/CompCert/flocq Flocq \
-R ../vericert/lib/CompCert/MenhirLib MenhirLib
COQMAKE := $(COQBIN)coq_makefile
VS := Main.v
all: Makefile.coq _CoqProject
$(MAKE) -f Makefile.coq
Makefile.coq _CoqProject: force
@echo "COQMAKE Makefile.coq"
$(COQMAKE) $(COQINCLUDES) $(VS) -o Makefile.coq
echo "$(COQINCLUDES)" >_CoqProject
force:
clean:
git clean -dfx
.PHONY: force all clean
|