Zad3 Makefile correctly compiles both mat and mem to static and shared versions