Question: I need help building a Makefile in c++. Instructions are as follows. Compile & link main.cc & ll.cc together into an executable named link -

I need help building a Makefile in c++. Instructions are as follows. Compile & link main.cc & ll.cc together into an executable named link - This step is already completed This is the step I need help with. a Makefile so that you won't have to type g++ again. Use at least -Wall. Its default target must be link. That is, if you just type make, it will create an executable program called link. It is not acceptable to use a Makefile produced by cmake. That Makefile is tied to the directory you wrote it in, and so won't work for anybody else.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!