makefiles: bring back -Wall and change order of flags so project cflags have more priority