add makefile for cpu-only machine