aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 7a7714ebccf131888ec43af4fe3ce6242b33f74c (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 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)))