I am currently working on composing a library. I have created .h file which is header file and .c file which has functions. How can ı link both these files. (I know that ı have to create object file but how?)
If you're using uVision, 'Create Library' is one of the Output options:
http://www.keil.com/support/man/docs/uv4/uv4_dg_adsout.htm
http://www.keil.com/support/man/docs/uv4/uv4_ca_createlibraryfile.htm