LINUX.ORG.RU

История изменений

Исправление wandrien, (текущая версия) :

.PHONY это не цель. Это ключевое слово такое.

Какая цель ПЕРВОЙ указана в файле и НЕ НАЧИНАЕТСЯ С ТОЧКИ?

Для особо одарённых помогу с цитатой:

   By default, the goal is the first target in the makefile (not
counting targets that start with a period).  Therefore, makefiles are
usually written so that the first target is for compiling the entire
program or programs they describe.  If the first rule in the makefile
has several targets, only the first target in the rule becomes the
default goal, not the whole list.  You can manage the selection of the
default goal from within your makefile using the '.DEFAULT_GOAL'
variable (*note Other Special Variables: Special Variables.).

Исходная версия wandrien, :

.PHONY это не цель. Это ключевое слово такое.

Какая цель ПЕРВОЙ указана в файле?

Для особо одарённых помогу с цитатой:

   By default, the goal is the first target in the makefile (not
counting targets that start with a period).  Therefore, makefiles are
usually written so that the first target is for compiling the entire
program or programs they describe.  If the first rule in the makefile
has several targets, only the first target in the rule becomes the
default goal, not the whole list.  You can manage the selection of the
default goal from within your makefile using the '.DEFAULT_GOAL'
variable (*note Other Special Variables: Special Variables.).