title: How to configure Kile to use a makefile?
body: <p>How do I tell Kile to use a makefile for the QuickBuild action?</p>
  
  <p><strong>Some background:</strong></p>
  
  <p>I have a sweave-project that I usually compile via a makefile. However, it's quite annoying having to switch between text editor and console every time I want to check if a sweave/latex code generates the output I want.</p>
  
  <p>Thus, I recently looked into Kile. I like it so far, but I can't get Kile to compile sweave-code (QuickBuild for pure tex-file works; but if I try to build a sweave file, Kile tells me that <code>The document is not a latex root document. Continue anyway?</code>). </p>