raplacing -D with ${MACRODEFFLAG}