######################################################################
# Copyright 2018-2020 Alain Giorgetti and Rémi Lazarini              #
# FEMTO-ST institute                                                 #
######################################################################

######################################################################
#  This software is distributed under the terms of the GNU Lesser    #
#  General Public License version 2.1                                #
######################################################################

# File: cut/Makefile

# Run
#  make build
# to build a docker image,
#  make ctr
# to create the Docker container,
#  make start
# to start an interactive session in the Docker container
#  make demo
# for a demonstration of case studies.

.PHONY: build ctr start demo clean

all: demo

build: Dockerfile
	docker build --tag cut2.5:latest .

ctr:
	# Uncomment next line if the container already exists
	# docker container rm cut25ctr
	bash ./ctr.sh

start:
	docker start --attach --interactive cut25ctr

# TODO
demo:
	echo "Demo not yet implemented, sorry!"

clean:
	cd examples; make clean

