aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 1e32ceffada2ea978c39c17e2a1229d2751d722d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Modified from the Logical Foundations Makefile

COQMFFLAGS := -Q . mininix

ALLVFILES := maptools.v relations.v expr.v shared.v binop.v matching.v sem.v \
             interpreter.v complete.v sound.v correct.v semprop.v

build: Makefile.coq
	$(MAKE) -f Makefile.coq

clean::
	if [ -e Makefile.coq ]; then $(MAKE) -f Makefile.coq cleanall; fi
	$(RM) $(wildcard Makefile.coq Makefile.coq.conf)

Makefile.coq:
	coq_makefile $(COQMFFLAGS) -o Makefile.coq $(ALLVFILES)

-include Makefile.coq

.PHONY: build clean