When using the make option GENERATE_COMPILE_COMMANDS=1, it will generate the compile commands database but never run the end command, so the filename will be stuck as compile_commands.part. This change fixes it so compile_commands.json is the final filename.
When using the make option
GENERATE_COMPILE_COMMANDS=1
, it will generate the compile commands database but never run theend
command, so the filename will be stuck ascompile_commands.part
. This change fixes it socompile_commands.json
is the final filename.I referenced how it's done for 3DS: https://github.com/devkitPro/devkitarm-rules/blob/ab0f5c46edaf0d3e7d582bf0e66430dbde92a902/3ds_rules#L43