Question: Needs the code that I would have to implement into the makefile 3. The code in project2 is for a program that plays a simple
3. The code in project2 is for a program that plays a simple game called Chomp The programmers of this project have opted to package some of their code in a "module" called chomp.adt, from which the related files cookie.h and cookie.cpp files can be generated. The steps necessary to produce this program are: A. Run the command csplit chomp.adt "/Split Here/ and rename the resulting file xx00 to cookie.h B. Run the command csplit chomp.adt "/Split Here/" and rename the resulting file xx01 to cookie.cpp. C. Compile cookie.epp to produce cookie.o. D. Compile nainProg.app to produce nainProg.o E. Link the the files to produce an executable program named playchomp Write a makefile that will carry out these steps. Your makefile should result in only the minimum required amount of steps when any input file to this process is changed. (Note: you will probably not be able to base this makefile upon my self-updating makefile as in the earlier part of the assignment. Instead, you will probably find it necessary to write this one from scratch
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
