Es posible tener múltiples.¿Objetivos falsos en un makefile de GNU?


Por varias razones, sería conveniente para mí especificar .FALSO en varias partes de un makefile. Siento que no estoy entendiendo correctamente cómo funciona esto,pero ¿es posible?

En lugar de .PHONY: clean cleanall do:

.PHONY: clean
<some text>
.PHONY: cleanall
Author: bnewbold, 2010-11-11

2 answers

Sí, está permitido. (Si no me crees, solo inténtalo!)

 37
Author: Beta,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2010-11-11 22:29:12
PHONY= 
PHONY+= clean

...

PHONY+= cleanall
.PHONY : $(PHONY)
 -11
Author: STyx,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2012-10-11 17:19:54