123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- TOP=../..
- include $(TOP)/mk/paths.mk
- V = 1
- excluded=
- allagda=$(patsubst %.agda,%.test,$(filter-out $(excluded),$(shell ls *.*agda)))
- default : all
- all : remove_interface_files $(allagda)
- remove_interface_files :
- find . -type f -name '*.agdai' -delete
- RUN_AGDA = time $(AGDA_BIN) --no-default-libraries -i. -i../../std-lib/src -v$(V) $(shell if [ -e $*.flags ]; then cat $*.flags; fi) +RTS -H1G -M1.5G -RTS
- %.test : %.agda
- @echo $<
- @$(RUN_AGDA) $<
- @$(check_$*)
- @$(cleanup_$*)
- %.test : %.lagda
- @echo $<
- @$(RUN_AGDA) $<
- @$(cleanup_$*)
- clean :
- -rm *~
|