devkitPro / wut

Let's try to make a Wii U Toolchain / SDK for creating rpx/rpl.
zlib License
247 stars 52 forks source link

Finalize compile commands #332

Closed thearst3rd closed 1 year ago

thearst3rd commented 1 year ago

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.

I referenced how it's done for 3DS: https://github.com/devkitPro/devkitarm-rules/blob/ab0f5c46edaf0d3e7d582bf0e66430dbde92a902/3ds_rules#L43