title: makefile permission denied
body: <p>I'm trying to make a C++ program that will find the shortest route out of the a maze. I'm struggling to get my makefile to work right now though. Currently, my makefile contains the following:</p>
  
  <pre><code>mazeIO : mazeIO.cpp maze.h
      g++ -g -Wall mazeIO.cpp maze.h -o mazeIO
  </code></pre>
  
  <p>mazeIO.cpp and maze.h are the only two files I have in the project. In the command line I am typing </p>
  
  <pre><code>make -f Makefile
  </code></pre>
  
  <p>and it compiles fine. Then I am typing</p>
  
  <pre><code>./mazeIO maze.txt
  </code></pre>
  
  <p>maze.txt is the maze input that I am trying to navigate.
  After I type this in I get the following error:</p>
  
  <pre><code>bash: ./mazeIO: Permission denied
  </code></pre>
  
  <p>I do not understand why. Any suggestions?</p>