updated makefile for amd