[CRIU] [PATCH 2/6] Makefiles: don't use the FORCE, Luke!

Dmitry Safonov dsafonov at virtuozzo.com
Wed Feb 24 10:27:08 PST 2016


On 02/24/2016 09:08 PM, Kir Kolyshkin wrote:
>
> I don't like this style, two reasons are:
> 1. It doesn't add any clarity
> 2. When we use $(PHONY) for something else then defining phony 
> targets, such as
> > all: $(PHONY)
> in criu/Makefile and lib/Makefile, this becomes a mess as
> say we can't use PHONY += clean in this case.
>
> So, I'd rather stick to the usual ".PHONY: targetname".
>
Ok, I don't have a strong opinion on that,
just wanted it to be in the same code-style.

-- 
Regards,
Dmitry Safonov



More information about the CRIU mailing list