diff options
author | Robert Sloan <varomodt@gmail.com> | 2016-02-18 14:42:25 -0500 |
---|---|---|
committer | Robert Sloan <varomodt@gmail.com> | 2016-06-22 13:41:22 -0400 |
commit | 359b06b4ed64cba0be972a111adc0d83615f70b5 (patch) | |
tree | bea6deb1b9664f7b3cd4b1f7c3f13b44e10fd184 /Makefile | |
parent | 7ca35a366c38a5977bf1b02b14a3f2ffcf1869c2 (diff) |
remove bedrock from COQ_ARGS because we all use COQPATH
BoundedWord2
Factor out a tactic and add more examples
BoundedWord2: add test cases
intermediate stage
simple
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 11 insertions, 10 deletions
@@ -1,11 +1,11 @@ +COQ_ARGS := -R coqprime/Tactic Coqprime -R coqprime/N Coqprime -R coqprime/Z Coqprime -R coqprime/List Coqprime -R coqprime/PrimalityTest Coqprime MOD_NAME := Crypto SRC_DIR := src +MODULES := Curves Galois Rep Specific Tactics Util +VS := $(MODULES:%=src/%/*.v) -.PHONY: coq clean install coqprime update-_CoqProject -.DEFAULT_GOAL := coq - -update-_CoqProject:: - (echo '-R $(SRC_DIR) $(MOD_NAME)'; git ls-files src/*.v) > _CoqProject +.PHONY: coq clean install coqprime +.DEFAULT_GOAL: coq coq: coqprime Makefile.coq $(MAKE) -f Makefile.coq @@ -13,13 +13,14 @@ coq: coqprime Makefile.coq coqprime: $(MAKE) -C coqprime -Makefile.coq: Makefile _CoqProject - coq_makefile -f _CoqProject -o Makefile.coq +Makefile.coq: Makefile $(VS) + coq_makefile -R $(SRC_DIR) $(MOD_NAME) $(COQ_ARGS) $(VS) -o Makefile.coq clean: Makefile.coq $(MAKE) -f Makefile.coq clean rm -f Makefile.coq -install: coq Makefile.coq - $(MAKE) -f Makefile.coq install - $(MAKE) -C coqprime install +install: coq + ln -sfL $(shell pwd)/src $(shell coqtop -where)/user-contrib/Crypto + ln -sfL $(shell pwd)/bedrock/Bedrock $(shell coqtop -where)/user-contrib/Bedrock + |