Re: Create compile_commands.json for integration with other build systems and IDEs

2018-07-29 Thread Duane Griffin
On Mon, Jul 30, 2018 at 11:26 AM, Paul Smith wrote: > On Mon, 2018-07-30 at 10:44 +1200, Duane Griffin wrote: >> I am not a GNU make developer but I am pretty sure that it is not >> possible to do this generically within make itself. Make does not >> work at that level. It just runs shell code, it

Re: Create compile_commands.json for integration with other build systems and IDEs

2018-07-29 Thread Paul Smith
On Mon, 2018-07-30 at 10:44 +1200, Duane Griffin wrote: > I am not a GNU make developer but I am pretty sure that it is not > possible to do this generically within make itself. Make does not > work at that level. It just runs shell code, it doesn't understand > that a particular command is, for ex

Re: Create compile_commands.json for integration with other build systems and IDEs

2018-07-29 Thread Duane Griffin
Hi Doron, I am not a GNU make developer but I am pretty sure that it is not possible to do this generically within make itself. Make does not work at that level. It just runs shell code, it doesn't understand that a particular command is, for example, invoking clang and should be added to a compil