adding makefile for hardware-layer