Makefile 586 Bytes
Newer Older
1 2
%: Makefile.coq phony
	+@make -f Makefile.coq $@
Zhen Zhang's avatar
Zhen Zhang committed
3 4

all: Makefile.coq
5
	+@make -f Makefile.coq all
Zhen Zhang's avatar
Zhen Zhang committed
6 7

clean: Makefile.coq
8
	+@make -f Makefile.coq clean
Zhen Zhang's avatar
Zhen Zhang committed
9 10 11 12 13
	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

14 15 16 17 18 19 20 21
iris-local: clean
	git submodule update --init iris
	ln -nsf iris iris-enabled
	+make -C iris -f Makefile

iris-system: clean
	rm -f iris-enabled

Zhen Zhang's avatar
Zhen Zhang committed
22 23 24 25
_CoqProject: ;

Makefile: ;

26 27 28
phony: ;

.PHONY: all clean phony iris-local iris-system