Updated makefiles.

[ci skip]