tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: make dependency on parts of a file

> B.reference: B
>       if diff -q B.reference B; then cp B B.reference; fi
You mean ! diff, do you?

> If that doesn't work
It does work, I think.
I had something similar in my head but managed to convince myself that 
it wouldn't work.

>       if diff -q B.reference B; then cp B B.reference && $(MAKE) C; fi
That's recursive make, which I'm trying to avoid.


Home | Main Index | Thread Index | Old Index