Makefiles changed.
Revert "Makefiles changed."

This reverts commit 8c41569bede16bfd552468eb04373ea5359502cb.
Makefiles changed for working with AMD drivers.