Hi Wilkins,
Until now, I didn't find any example which just use the makefule without the IDE.
I think if you don't want to use the KDS, you also can use other IDE, like MDK and IAR.
You also can use the .bin file which already be build by the IDE, you can find it from folder:
NXP_Kinetis_Bootloader_2_0_0\targets\MK22F51212\iar\binaries
Then, you just need to use the external debugger or programmer to download this code to your flash.
Wish it helps you!
If you still have question about it, please kindly let me know.
Have a great day,
Kerry
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------