move Makefile.rules to end so CFLAGS are correct