diff options
| author | Pierre-Marie Pédrot | 2017-10-27 19:26:31 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2017-10-27 19:32:11 +0200 |
| commit | 216c5f25cf41d68871149f21f83518ec0a4f1cc9 (patch) | |
| tree | 07ce377c770c700c904205a1fcab08d2f1f142fa /Makefile | |
| parent | a7c83429db05866dfc9613fc4a488d62d31386fc (diff) | |
Adding an OPAM package.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -1,16 +1,14 @@ -all: Makefile.coq - $(MAKE) -f Makefile.coq +ifeq "$(COQBIN)" "" + COQBIN=$(dir $(shell which coqtop))/ +endif -install: all - $(MAKE) -f Makefile.coq install - -clean: Makefile.coq - $(MAKE) -f Makefile.coq clean - rm -f Makefile.coq +%: Makefile.coq Makefile.coq: _CoqProject - $(COQBIN)/coq_makefile -f _CoqProject -o Makefile.coq + $(COQBIN)coq_makefile -f _CoqProject -o Makefile.coq tests: all @$(MAKE) -C tests -s clean @$(MAKE) -C tests -s all + +-include Makefile.coq |
