###############################################################################
# Coq Unit Testing project                                                    #
# Copyright 2015-2018 Catherine Dubois, Richard Genestier and Alain Giorgetti #
# Samovar - FEMTO-ST institute                                                #
###############################################################################
#      This file is distributed under the terms of the                        #
#       GNU Lesser General Public License Version 2.1                         #
###############################################################################

# File: examples/Makefile

WHY3SHARE=$(shell why3 --print-datadir)
include $(WHY3SHARE)/Makefile.config

.PHONY: all config compile betgen bet rt sc clean

all: compile betgen bet rt sc

config:
	echo $(INCLUDE)

compile:
	echo "Compilation of Coq files"
	cd coq; make compile

betgen:
	echo "Generation of bounded exhaustive tests with Prolog"
	cd endofun/prolog; make
	cd permutation/prolog; make
	cd rotation/prolog; make
	cd rom/prolog; make

bet:
	cd coq; make bet

rt:
	cd isomorphisms; make all
	cd coq; make rt

sc:
	cd coq; make sc

debug:
	cd coq; make sc_blist

clean:
	cd coq; make clean
