From bcb052326f1f189c429cc25c86b66156f79df418 Mon Sep 17 00:00:00 2001 From: Ralf Jung <post@ralfj.de> Date: Wed, 16 Nov 2016 10:23:12 +0100 Subject: [PATCH] comment Makefile (by Zhen) --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 51cf12d0..fa51a2f7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ %: Makefile.coq phony +@make -f Makefile.coq $@ +# Compile this project all: Makefile.coq +@make -f Makefile.coq all @@ -11,11 +12,13 @@ clean: Makefile.coq Makefile.coq: _CoqProject Makefile coq_makefile -f _CoqProject | sed 's/$$(COQCHK) $$(COQCHKFLAGS) $$(COQLIBS)/$$(COQCHK) $$(COQCHKFLAGS) $$(subst -Q,-R,$$(COQLIBS))/' > Makefile.coq -iris-local: clean - git submodule update --init iris - ln -nsf iris iris-enabled - +make -C iris -f Makefile +# Use local Iris dependency +iris-local: + git submodule update --init iris # If not initialized, then initialize; If not updated with this remote, then update + ln -nsf iris iris-enabled # If not linked, then link + +make -C iris -f Makefile # If not built, then build +# Use system-installed Iris dependency iris-system: clean rm -f iris-enabled -- GitLab