Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,

What is the makefile and library file and what are the uses of it in C code?
Posted
Comments
Leo Chapiro 24-Sep-15 5:03am    
Ask Google, it knows it !
Amarnath S 24-Sep-15 5:15am    
Very briefly:
Library: A bunch of code having some common functionality. For example, the math library has functions related to math, like sin, cos, sqrt, etc. This may be in the form of dynamically link libraries (.dll), statically linked ones (.lib), shared objects (.so on Unix systems), etc.

makefile: A file specifying the order in which compilation and linking have to happen, and commands to create the final executable. And external dependencies.

1 solution

Use Google, is your friend.
"A Simple Makefile Tutorial"[^].
"C Programming/Libraries"[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900