Provide AMD module
Better makefile