Zad3 makefile compiles mem.out to static and shared