Hello,
as already mentioned above, it will be much easier for you if you follow the described approach. I assume that you are just starting GUI development - so there are a lot of things to get familiar with. If you go your own ways to early and do not follow the recommended 'getting-started' approach you bring an additional complexity into your project and you are creating unnecessary problems.
If you are expert for RasPi and Linux, you can of course go your own ways and adapt the main.c file and the makefiles according your needs.
Additioinal remark: It does not make much sense to post your questions or comments several times into this forum.
Best regards,
Manfred.