aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: ecc5dc4091cf2088d86b2233c7eb8e81c1b36b02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# © 2015 the Massachusetts Institute of Technology
# @author bbaren + rsloan

SOURCES := $(shell grep -v '^-' _CoqProject | tr '\n' ' ')
COQLIBS := $(shell grep '^-' _CoqProject | tr '\n' ' ')

include .make/cc.mk
include .make/coq.mk

FAST_TARGETS += check_fiat check_bedrock clean

.DEFAULT_GOAL = all
.PHONY: all deps objects clean coquille

all: objects

deps: $(SOURCES:%=%.d) 

objects: deps $(SOURCES:%=%o)

clean:
	$(RM) $(foreach f,$(SOURCES),$(call coq-generated,$(basename $f)))