Add support for phony Makefile commands

This should arguably be the default for this type.
This commit is contained in:
Pierre Pronchery 2018-03-09 02:16:53 +01:00
parent ed1a21f2e2
commit 96614bd870

View File

@ -2484,6 +2484,7 @@ static int _write_phony_targets(Makefile * makefile)
!= NULL)
switch(enum_string(TT_LAST, sTargetType, type))
{
case TT_COMMAND:
case TT_SCRIPT:
if(_makefile_is_phony(makefile, prints))
_makefile_print(makefile, " %s",