Add ex7.c and add to Makefile