diff options
| author | Cyril Cohen | 2015-03-25 09:52:24 +0100 |
|---|---|---|
| committer | Cyril Cohen | 2015-03-25 09:52:24 +0100 |
| commit | 821071c3ba30ad4ad9bb05b928b8bbf8dc2f85a2 (patch) | |
| tree | 423361d15e4f8b3ffcaf4d25746fcf80e19d5317 /mathcomp/real_closed/Makefile | |
| parent | f3671d37b31f0745a82e6968157bfbb0c0c959e9 (diff) | |
packaging real_closed
Diffstat (limited to 'mathcomp/real_closed/Makefile')
| -rw-r--r-- | mathcomp/real_closed/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/mathcomp/real_closed/Makefile b/mathcomp/real_closed/Makefile new file mode 100644 index 0000000..d693257 --- /dev/null +++ b/mathcomp/real_closed/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 + |
