add makefile for x86 platform