mem.c and the makefile