From 96614bd87042c2c998f09c2126788df7c4e0571b Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Fri, 9 Mar 2018 02:16:53 +0100 Subject: [PATCH] Add support for phony Makefile commands This should arguably be the default for this type. --- src/makefile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/makefile.c b/src/makefile.c index ac2ee16..c277ef7 100644 --- a/src/makefile.c +++ b/src/makefile.c @@ -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",