-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
35 lines (26 loc) · 881 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
all: compile
compile:
stack build
theory-objects:
cd theory/dk/eta && rm -f *.dko ; dkcheck -e univ.dk && dkcheck -e Agda.dk
cd theory/dk/noEta && rm -f *.dko ; dkcheck -e univ.dk && dkcheck -e Agda.dk
cd theory/lp/AgdaTheory && make clean && make install
# all tests
test: theory-objects
cd tests && bash test.sh "1 2 3 4"
# all tests, in verbose mode
test-verbose: theory-objects
cd tests && bash test.sh "1 2 3 4" -v
# only dk tests
test-dk: theory-objects
cd tests && bash test.sh "1 2"
# only lp tests
test-lp: theory-objects
cd tests && bash test.sh "3 4"
# NB ?= -1
# TIMEOUT ?=0
# std-lib-no-eta: compile
# bash "./translation/dk/generate_std-lib.sh" $(AGDA_STD_DIR) $(EXEC) "--dk $(OPTS)" $(shell pwd)/$(DK_STD_DIR) $(NB)
# cd $(STD_DIR) && make FLAGS="-e --snf $(DK_FLAGS)" TIMEOUT=$(TIMEOUT);
# clean-std-lib:
# rm $(STD_DIR)/*.dk* $(STD_DIR)/.depend