Assuming the following files in the directory:
my_mem.h/my_mem.c- header and source files for library component #1my_malloc.h/my_malloc.c- header and source files for library component #2libmy_c.a- local static library to be created based on the above componentstest_driver.c- source file for driver program, which includes any/all of above header files, and links to the local static library