title: nmake: adding a prefix with inference rules?
body: <p>I'm using nmake inference rules successfully for file extensions -- but what about adding a file prefix? I'm doing qt stuff, so given a list of files eg</p>
  
  <p>MOCS=moc_file1.cpp moc_file2.cpp</p>
  
  <p>I want to find an an inference rule to get .h filenames to use as input to moc.exe and create the .cpp files.</p>