-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #529 from LPCIC/master-tc
TC solver 2
- Loading branch information
Showing
76 changed files
with
7,231 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# detection of coq | ||
ifeq "$(COQBIN)" "" | ||
COQBIN := $(shell which coqc >/dev/null 2>&1 && dirname `which coqc`) | ||
endif | ||
ifeq "$(COQBIN)" "" | ||
$(error Coq not found, make sure it is installed in your PATH or set COQBIN) | ||
else | ||
$(info Using coq found in $(COQBIN), from COQBIN or PATH) | ||
endif | ||
export COQBIN := $(COQBIN)/ | ||
|
||
all: build test | ||
|
||
build: Makefile.coq | ||
@$(MAKE) --no-print-directory -f Makefile.coq | ||
|
||
test: Makefile.test.coq | ||
@$(MAKE) --no-print-directory -f Makefile.test.coq | ||
|
||
theories/%.vo: force | ||
@$(MAKE) --no-print-directory -f Makefile.coq $@ | ||
tests/%.vo: force build Makefile.test.coq | ||
@$(MAKE) --no-print-directory -f Makefile.test.coq $@ | ||
examples/%.vo: force build Makefile.test.coq | ||
@$(MAKE) --no-print-directory -f Makefile.test.coq $@ | ||
|
||
Makefile.coq Makefile.coq.conf: _CoqProject | ||
@$(COQBIN)/coq_makefile -f _CoqProject -o Makefile.coq | ||
@$(MAKE) --no-print-directory -f Makefile.coq .merlin | ||
Makefile.test.coq Makefile.test.coq.conf: _CoqProject.test | ||
@$(COQBIN)/coq_makefile -f _CoqProject.test -o Makefile.test.coq | ||
|
||
clean: Makefile.coq Makefile.test.coq | ||
@$(MAKE) -f Makefile.coq $@ | ||
@$(MAKE) -f Makefile.test.coq $@ | ||
|
||
.PHONY: force all build test | ||
|
||
install: | ||
@$(MAKE) -f Makefile.coq $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
CAMLPKGS+= -package coq-elpi.elpi | ||
OCAMLPATH:=../../src/:$(OCAMLPATH) | ||
export OCAMLPATH |
Oops, something went wrong.