by shigemk2

当面は技術的なことしか書かない

makefile phony target

A phony target is one that is not really the name of a file; rather it is just a name for a recipe to be executed when you make an explicit request. There are two reasons to use a phony target: to avoid a conflict with a file of the same name, and to improve performance.

ターゲットファイルが入らなくなるので、コマンドだけを実行する

https://www.gnu.org/software/make/manual/make.html#Phony-Targets