.PHONY: run-fast run-slow docker-build docker-clean clean

clean:
	rm -f results/*.json
	rm -f output/*.json
	rm -f benchmarks/*/gradual/static_samples/*
	sudo rm -f benchmarks/*/grift/static_samples/*

run-fast:
	NUM_BINS=10 NUM_RUNS=3 SAMPLING_FACTOR=1 ./script.sh

run-slow:
	NUM_BINS=10 NUM_RUNS=10 SAMPLING_FACTOR=10 ./script.sh

docker-build:
	docker build -f Dockerfile.grift -t grift .
	docker build -f Dockerfile.grift_mono -t grift-mono .
docker-clean:
	docker rmi grift grift-mono
