add apprun to Makefile for testing