title: Makefile for Linux from Xcode-written C++ program
body: <p>I've written a simple c++ program on Xcode, all contained within ONE FILE called huffmanGenerator.cpp. The program reads input from a file on the user's computer, and writes output to a file saved to their computer. </p>
  
  <p>The instructor has asked us to create a makefile so that our programs compile and run with g++ OR gcc in Linux; however she never showed us how to do so, and when the class asked for help, her answer was we could figure it out. </p>
  
  <p>I found many links online, but they're all very confusing as this is all new to me, and most of them fail to answer even the most basic questions like what kind of file should the makefile be? Is it a .txt? Should I just save one in word? </p>
  
  <p>Please help do what the instructor won't, enlighten me. Thanks!</p>