Re: [PATCH v2] build: correct cppcheck-misra make rule

2022-09-21 Thread Bertrand Marquis
Hi Jan, > On 12 Sep 2022, at 07:46, Jan Beulich wrote: > > Having cppcheck-misra.json depend on cppcheck-misra.txt does not > properly address the multiple targets problem. If cppcheck-misra.json > is deleted from the build tree but cppcheck-misra.txt is still there, > nothing will re-generate c

[PATCH v2] build: correct cppcheck-misra make rule

2022-09-11 Thread Jan Beulich
Having cppcheck-misra.json depend on cppcheck-misra.txt does not properly address the multiple targets problem. If cppcheck-misra.json is deleted from the build tree but cppcheck-misra.txt is still there, nothing will re-generate cppcheck-misra.json. With GNU make 4.3 or newer we could use the &: