FILES = $(shell ls | grep -vE "^dns$$") dns: $(FILES) echo "$(FILES)" | xargs --max-args 1 ssh-keygen -r "$$(basename "$$(pwd)")." -f > "$@"