relophill.blogg.se

Where to put makefile for c program
Where to put makefile for c program












where to put makefile for c program

Link as a static library (lib.a) or better built as a shared object (lib.so) that is dyanmically These common functions in util could be built as a library that each programmer could Reused by each component being coded up: for example all the code in the lab6/src/utilĭirectory. Once they completed the overallĭesign then they might come to the conclusion that there are a number of common functions that could be Three different programmers were designing and coding up TinySearch. Precompiled functions that have been written to be reused by other programmers. In a general sense libraries are collections of

where to put makefile for c program

Would you want to do this? And, how would you do this. You have been using libraraies in this course but we haven’t discussed them in detail or discussed moreĪdvanced uses of this programming and development feature that is, how to build you own C library. CS 50: Software Design and Implementation Lecture 23 How to Build Your Own C Library














Where to put makefile for c program