Use the $@ automatic variable

$@ expands to the current target name inside a recipe

build: docker build -t $(IMAGE) . && echo 'Built $@'

tool
make10 commands
tags
makelinux

More make commands

all 10 make commands