title: make is not using -std=c++11 option for g++
body: <p>I am trying to compile c++ files using make. But, it is not using -std=c++11 flag by default. Whenever I need to compile a program which uses c++11 specific features, I have to explicitly compile it using g++.</p>
  
  <p>So, I want to ask how can I have make automatically use the option -std=c++11 for all my c++ files on my system.</p>
  
  <p>If I need to change some global makefile for g++ , what is the location of the makefile on Linux Mint 18 and what needs to be changed or added?</p>
  
  <p>Or do I need to create a Makefile for myself?</p>
  
  <p><strong>EDIT 1:</strong> I am invoking make like <pre><code>make myfile</code></pre></p>
  
  <p>And there are only .cpp files and their binaries in the directory. I don't have any Makefile in the directory.</p>
  
  <p><strong>EDIT 2:</strong> Here, <code>myfile</code> is the name of the c++ file which I want to compile.</p>
  
  <p>When I run make with the -d option, I get the following output (I can not paste all of the output as it is quite long and is exceeding the body size limit so, I am including the screenshots of the output).
  <a href="https://i.stack.imgur.com/an9bp.png" rel="nofollow noreferrer">Image 1</a><br>
  And this image(2) has some lines from the end.<br>
  <a href="https://i.stack.imgur.com/pawHZ.png" rel="nofollow noreferrer">Image 2</a></p>
  
  <p>I intentionally made a change in the file <code>"MagicalWord.cpp"</code> so that make finds something to make!</p>