-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
28 lines (18 loc) · 1.48 KB
/
Makefile
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
27
28
COQMFFLAGS := -Q . LGTM -arg "-w -implicits-in-term,-redundant-canonical-projection,-several-object-files,-ambiguous-paths,-implicit-core-hint-db,-file-no-extension,-custom-entry-overriden,-custom-entry-overridden,-deprecated-hint-without-locality,-deprecated-ident-entry,-deprecated-hint-rewrite-without-locality,-deprecated-instance-without-locality"
TLC_FILES := LibAxioms.v LibTactics.v LibEqual.v LibLogic.v LibOperation.v LibBool.v LibReflect.v LibProd.v LibSum.v LibRelation.v LibOrder.v LibNat.v LibEpsilon.v LibInt.v LibMonoid.v LibContainer.v LibOption.v LibWf.v LibList.v LibListExec.v LibListZ.v LibMin.v LibSet.v LibChoice.v LibUnit.v LibFun.v LibString.v LibCore.v LibSepTLCbuffer.v
THEORY_FILES := LibSummation.v LibListExt.v LibDotprod_float.v LibFunExt.v LibLabType.v
SEPLOG_FILES := LibSepFmap.v LibSepVar.v LibSepSimpl.v LibHypHeap.v LibWP.v LibXWP.v LibSepReference.v LibArray.v LibLoops.v NTriple.v Subst.v LibLoops_float.v
EXPERIMENTS_FILES := COO.v RL.v SV.v CSR.v UnaryCommon.v uCSR.v CSR_float.v Prelude.v
ALLVFILES := ${addprefix lib/theory/,${TLC_FILES}} \
${addprefix lib/theory/,${THEORY_FILES}} \
${addprefix lib/seplog/,${SEPLOG_FILES}} \
${addprefix experiments/,${EXPERIMENTS_FILES}}
build: Makefile.coq
$(MAKE) -f Makefile.coq
clean::
if [ -e Makefile.coq ]; then $(MAKE) -f Makefile.coq cleanall; fi
$(RM) $(wildcard Makefile.coq Makefile.coq.conf)
Makefile.coq:
coq_makefile $(COQMFFLAGS) -o Makefile.coq $(ALLVFILES)
-include Makefile.coq
.PHONY: build clean