Linux software can use two types libraries static and shared
USING THE MAKE UTILITY 27
Phony Targets
rm *.o
rm foo
foo: foo.c
gcc foo.c -o foo
rm foo
Error Handling
Static libraries are extremely simple to create and use. Once you have created the object files you wish to package as a library, combine them with the ar command:
$ ar rcs something.a file1.o file2.o file3.o


