tla-plus/TwoPC/Coq/Makefile
2018-01-18 15:16:09 +08:00

21 lines
437 B
Makefile

# 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: all clean