How to add a test.c into cboot

I want to add test.c below cboot/bootloader/partner/common/lib/linuxboot/, so how can I compile test.c together when I compile the whole cboot? I do not see Makefile.


How about read the README file in cboot source first?

In CBoot_Standalone_Readme_t194.txt, i did not find my answer.
I know how to compile cboot,but i do not know how to add a file below cboot/bootloader/partner/common/lib/linuxboot/ and compile it together into lk.bin.

I have soled this problem, test.c can be compiled together after handle the