title: Using makefile variables in C
body: <p>I need to read a file in a C program and I do not want to hardcode the path to that file. I want to provide that path as a Make variable and then use it in C prog.</p>
  
  <pre><code>file name is xyz.txt and I want to do something like this in C prog:
  fopen ("PATH/xyz.txt", "r"); 
  here PATH is specified in make command that compiles this file.
  </code></pre>
  
  <p>How can I do that? </p>