Is it possible to have a directory as a target and dependency? So if I change the contents of a directory, the rule that depends on that directory will be executed. I tried doing this:
all: ~/DirDst
~/DirDst: ~/DirSrc
cp -rf ~/DirSrc ~/DirDst
But the rule for ~/DirDst never executed.
Samad