This is not a problem statement. Recently, ELF files were not generated and I have searched a lot. At the end, I figured out that the problem is that I have used non-english characters for the .c and .h files, therefore ELF Files were not generated.
I have used 'ı' character which is non-english for both .c and .h files
Therefore, the problem may be not as complicated as you think