From 7d7b0688c818c5dde68d2b2bfc8ba3aecfe017d6 Mon Sep 17 00:00:00 2001 From: Cyril Cohen Date: Tue, 31 Jul 2018 15:20:43 +0200 Subject: removing dead code + reshuffling stuff --- mathcomp/ssreflect/Makefile | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) (limited to 'mathcomp/ssreflect/Makefile') diff --git a/mathcomp/ssreflect/Makefile b/mathcomp/ssreflect/Makefile index 817a89c..2c1fc01 100644 --- a/mathcomp/ssreflect/Makefile +++ b/mathcomp/ssreflect/Makefile @@ -1,22 +1,15 @@ # -*- Makefile -*- -COQPROJECT="Make" +# setting variables +COQPROJECT?=Make +COQMAKEOPTIONS=--no-print-directory -# -------------------------------------------------------------------- -# this sets variable V -include Makefile.detect-coq-version -# this defines prepare_coqmakefile -include Makefile.coq-makefile +# Main Makefile include ../Makefile.common # -------------------------------------------------------------------- -COQMAKEOPTIONS=--no-print-directory \ - COQDEP='$(COQDEP) -exclude-dir plugin -c' -COQMAKEFILEOPTIONS=$(MLLIB) $(EXTRA) - -# -------------------------------------------------------------------- -.PHONY: pre_makefile -BEFOREMAKEFILE=pre_makefile - -pre_makefile: - $(call prepare_coqmakefile,.) +# this sets variable V (coq version) and MLLIBEXTRA +# assuming SSR is set to the directory which contains the ssreflect package +SSR=. +include Makefile.detect-coq-version +COQMAKEFILEOPTIONS=$(MLLIBEXTRA) -- cgit v1.2.3