I got this link from the Sif coin thread (english not russian one) it is the source code that when compiled will mine Sif better than the standard client with MinerD. Since Quark is based on (but not a copy of) Sif maybe someone with more skills than me can get this running quark.
Not sure if having 3 random generated on top of the six other styles makes it impossible or if MinerD will really do better than the default client which I noticed now shows hash rate since updated.
Note on Sif thread this was posted as an alpha but it does work on that coin.
http://sourceforge.net/projects/sifcoin/files/cpuminer-1.0.2.zip/downloadMine away
