Hi all,
I often need to track compiler flags or the particular compiler
used as part of a rule, e.g here:
http://hackage.haskell.org/package/shake-c-0.4.0.0/docs/src/Development.Shake.C.html#dynLibR.
Does shake have a way to track such flags as inputs in the same
vein as need? As a trivial example, I would like for
shake to rebuild all .o files when the rule changes to
pass -O2 to the C compiler instead of -O0.
I attempted to use oracles at some point in the past, but I never
got it working. (I'd also like for actions to be able to declare
that they depend on particular flags the way they can declare they
depend on particular files with need, though that is
negotiable).