updated makefile for new HAL structure