added -restrict & -g to the makefile