From 532de9b68384a114c6534a0736ed024c900447f9 Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Fri, 17 Jul 2015 18:03:31 +0200 Subject: Updating files + reorganizing everything --- mathcomp/basic/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 mathcomp/basic/Makefile (limited to 'mathcomp/basic/Makefile') diff --git a/mathcomp/basic/Makefile b/mathcomp/basic/Makefile new file mode 100644 index 0000000..e872352 --- /dev/null +++ b/mathcomp/basic/Makefile @@ -0,0 +1,22 @@ +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