My problem : a would like to link the lib statically ( i mean to include the lib directly into the program).
I'm working with minigp32 (thx to bille2

How can I compile the main source, including all the files of the libs. Do I have to write a makefile manualy and write for each file a rule (approx ~50 files, with tens of included files) or is there a tool which can do this automatically ? (just by reading the #include lines in the sources)
Thx