Enhance copy in Makefile

This commit is contained in:
Ricardo Montañana Gómez 2023-08-21 12:18:23 +02:00
parent 2dd04a6c44
commit b686b3c9c3
Signed by: rmontanana
GPG Key ID: 46064262FD9A7ADE

View File

@ -11,12 +11,9 @@ setup: ## Install dependencies for tests and coverage
pip install gcovr; \
fi
dest ?= ../discretizbench
copy: ## Copy binary files to selected folder
@echo "Destination folder: $(dest)"
@if test "$(dest)" == "" ; then \
echo "Destination folder is empty"; \
exit 1; \
fi
make build
@echo ">>> Copying files to $(dest)"
@cp build/src/Platform/main $(dest)