add a cp rule with makefile vars