From 58315027437a8da39270989a872415ce28a0b3bb Mon Sep 17 00:00:00 2001
From: Jan-Oliver Kaiser <janno@mpi-sws.org>
Date: Thu, 15 Sep 2016 16:28:11 +0200
Subject: [PATCH] Add static Makefile for CI

---
 .gitignore      |  2 +-
 coq/ra/Makefile | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 coq/ra/Makefile

diff --git a/.gitignore b/.gitignore
index 73d4af9e..703f16fa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,4 +15,4 @@
 .#*
 auto
 *.fmt
-coq/*/Makefile
+coq/*/Makefile.coq
diff --git a/coq/ra/Makefile b/coq/ra/Makefile
new file mode 100644
index 00000000..ff1ccd39
--- /dev/null
+++ b/coq/ra/Makefile
@@ -0,0 +1,22 @@
+# Makefile originally taken from coq-club
+
+%: Makefile.coq phony
+	+make -f Makefile.coq $@
+
+all: Makefile.coq
+	+make -f Makefile.coq all
+
+clean: Makefile.coq
+	+make -f Makefile.coq clean
+	rm -f Makefile.coq
+
+Makefile.coq: _CoqProject Makefile
+	coq_makefile -f _CoqProject | sed 's/$$(COQCHK) $$(COQCHKFLAGS) $$(COQLIBS)/$$(COQCHK) $$(COQCHKFLAGS) $$(subst -Q,-R,$$(COQLIBS))/' > Makefile.coq
+
+_CoqProject: ;
+
+Makefile: ;
+
+phony: ;
+
+.PHONY: all clean phony
-- 
GitLab