diff options
| author | Enrico Tassi | 2015-03-09 13:35:08 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2015-03-09 16:21:23 +0100 |
| commit | 155e671f7b83293ae327ddbd252d1d1ac961ab9a (patch) | |
| tree | 7bb826abaa20f3fe5ac57e0348be14e8641b5b75 /mathcomp/discrete/Makefile | |
| parent | fc84c27eac260dffd8f2fb1cb56d599f1e3486d9 (diff) | |
some work on ssreflect and discrete
Diffstat (limited to 'mathcomp/discrete/Makefile')
| -rw-r--r-- | mathcomp/discrete/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mathcomp/discrete/Makefile b/mathcomp/discrete/Makefile new file mode 100644 index 0000000..d693257 --- /dev/null +++ b/mathcomp/discrete/Makefile @@ -0,0 +1,23 @@ +H=@ + +ifeq "$(COQBIN)" "" +COQBIN=$(dir $(shell which coqtop))/ +endif + + +OLD_MAKEFLAGS:=$(MAKEFLAGS) +MAKEFLAGS+=-B + +.DEFAULT_GOAL := all + +%: + $(H)[ -e Makefile.coq ] || $(COQBIN)/coq_makefile -f Make -o Makefile.coq + $(H)MAKEFLAGS=$(OLD_MAKEFLAGS) $(MAKE) --no-print-directory \ + -f Makefile.coq $* + +.PHONY: clean +clean: + $(H)MAKEFLAGS=$(OLD_MAKEFLAGS) $(MAKE) --no-print-directory \ + -f Makefile.coq clean + $(H)rm -f Makefile.coq + |
