add Makefile for adapter