forked from leanprover/LNSym
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (29 loc) · 771 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright (c) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# Released under Apache 2.0 license as described in the file LICENSE.
# Author(s): Shilpi Goel
SHELL := /bin/bash
LAKE = lake
NUM_TESTS?=20
VERBOSE?=--verbose
.PHONY: all
all: specs proofs tests cosim
.PHONY: specs
time -p $(LAKE) build Specs
.PHONY: proofs
proofs:
time -p $(LAKE) build Proofs
.PHONY: tests
tests:
time -p $(LAKE) build Tests
.PHONY: cosim
cosim:
time -p lake exe lnsym $(VERBOSE) --num_tests $(NUM_TESTS)
.PHONY: clean clean_all
clean:
$(LAKE) clean
clean_all: clean
# The lake-packages directory existed at v4.3.0-rc1, but since at
# least v4.5.0-rc1, the build outputs go in the .lake directory.
rm -rf lake-packages
rm -rf .lake
rm -rf lakefile.olean