update makefile for RMD external App