Todos estos comandos son ejecutados desde el root (/SO-PRY2)
gcc ./Init_mem/init_mem.c sharedMem.c ./models/memoryBlock.c -pthread -o init
gcc ./program_factory/program_factory.c sharedMem.c ./models/memoryBlock.c ./models/threadStruct.c -pthread -o producer -w
gcc -pthread spy_mem/spy_mem.c sharedMem.c -o spy_memory
gcc ./dealloc_mem/dealloc_mem.c sharedMem.c -pthread -o dealloc