Finally able to compile sources as one executable through multi calling. Makefile is not up to par yet.