Moved compile rules to Makefile.incl
Added -Wno-deprecated-register