Question: ( 2 0 points ) a Makefile with ( at least ) the following targets Rules to compile . c files into . o files
points a Makefile with at least the following targets
Rules to compile c files into o files inputo display.o and main.o
A scroll target that will combine input.o display.o and main.o into an executable called "scroll".
An all target that will depend on "scroll".
A clean target that will remove the executable scroll and all o files
A run target that will run the program, compiling it first if necessary so it should depend on scroll
Any extra targets you find helpful. For example, you may wish to include some rules for handling git tasks. Consider the benefits of having a target called commit which will commit and push the repository!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
