proper .h file and referencing lib/sources.c in makefile