added debug to makefile
fix warning
ifa_addr check