C++

Asked • 08/15/19

How to make a SIMPLE C++ Makefile?

We are required to use a Makefile to pull everything together for our project but our professor never showed us how to. I only have ONE file, `a3driver.cpp`. The driver imports a class from a location `"/user/cse232/Examples/example32.sequence.cpp"`. That's it, everything else is contained with the `.cpp`. How would I go about making a simple Makefile that creates an executable called `a3a.exe`?

1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.