From 0d2a1e7388d45776700c4400781e1aa71a0f0060 Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Thu, 19 Mar 2015 15:51:00 +0100 Subject: packaging fingroup and algebra The files zmodp and cyclic in fingroup had dependecies in algebra so I put them there. I'm not convinced it's the best solution to this problem. Maybe more subdivisions in algebra would bring a better solution? (Maybe we should send the whole problem to a solver? :P) --- mathcomp/algebra/Makefile | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 mathcomp/algebra/Makefile (limited to 'mathcomp/algebra/Makefile') diff --git a/mathcomp/algebra/Makefile b/mathcomp/algebra/Makefile new file mode 100644 index 0000000..d693257 --- /dev/null +++ b/mathcomp/algebra/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 + -- cgit v1.2.3