[SOLVED] Chomp

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: Run the command csplit chomp.adt “/Split Here/” and copy the resulting file xx00 to cookie.h. Run the command csplit chomp.adt “/Split Here/” and copy the resulting file xx01 to cookie.cpp. Compile cookie.cpp to produce cookie.o. Compile mainProg.cpp to produce mainProg.o. Link the the .o 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. _________________________________________________ I am currently having an issuewith the question above. I am meant to create a makefile that runsthe program like stated above, and currently this is mymakefile: all: cookie.h cookie.cpp playChomp cookie.o mainProg.o cookie.h: chomp.adt csplit chomp.adt “/Split Here/” cp xx00 cookie.h cp xx01 cookie.cpp   playChomp: cookie.o mainProg.o g++ -o playChomp cookie.o mainProg.o cookie.o: cookie.cpp g++ -c cookie.cpp mainProg.o: mainProg.cpp g++ -c mainProg.cpp However, I am receiving this error code: Your makefile does not build playChomp in 3 distinct g++ stepswhen chomp.adt has been changed: csplit chomp.adt “/Split Here/” 1372 8632 cp xx00 cookie.h cp xx01 cookie.cpp g++ -c cookie.cpp g++ -o playChomp cookie.o mainProg.o is there anything that I can do to fix my makefile? For more information on Chomp read this:  https://en.wikipedia.org/wiki/Chomp

Don't use plagiarized sources. Get Your Custom Essay on
[SOLVED] Chomp
Get a 15% discount on this Paper
Order Essay
Quality Guaranteed

With us, you are either satisfied 100% or you get your money back-No monkey business

Check Prices
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know that being a student these days is hard. Because of this, our prices are some of the lowest on the market.

Instead, we offer perks, discounts, and free services to enhance your experience.
Sign up, place your order, and leave the rest to our professional paper writers in less than 2 minutes.
step 1
Upload assignment instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
s
Get personalized services with My Paper Support
One writer for all your papers
You can select one writer for all your papers. This option enhances the consistency in the quality of your assignments. Select your preferred writer from the list of writers who have handledf your previous assignments
Same paper from different writers
Are you ordering the same assignment for a friend? You can get the same paper from different writers. The goal is to produce 100% unique and original papers
Copy of sources used
Our homework writers will provide you with copies of sources used on your request. Just add the option when plaing your order
What our partners say about us
We appreciate every review and are always looking for ways to grow. See what other students think about our do my paper service.
Other
great
Customer 452813, June 25th, 2022
Philosophy
excellent job i will be coming back for any future papers if I have too.
Customer 452611, October 11th, 2021
Other
GOOD
Customer 452813, July 5th, 2022
Nursing
Another great paper! Thank you!
Customer 452707, June 16th, 2022
Nursing
Always a job well done. I really appreciate the hard work.
Customer 452453, January 4th, 2021
Nursing
Thank you!!!
Customer 452557, June 26th, 2021
Database design and optimization
communication was great and the work looks perfect.
Customer 452715, February 26th, 2022
Technology
The paper is everything I needed and more. I will add a title and a cover page to it. Other than that the paper turned out excellent.
Customer 452885, October 17th, 2022
Human Resources Management (HRM)
Thank you so much.
Customer 452701, August 15th, 2023
Human Resources Management (HRM)
Thanks for the paper.
Customer 452701, September 15th, 2023
Psychology
Thanks so very much. The paper is well-researched and adequately referenced. You have been of great help during the pandemic!
Customer 452467, January 31st, 2021
Human Resources Management (HRM)
Thanks for the paper. Hopefully this one will receive higher than a C and has followed all guidelines.
Customer 452701, November 16th, 2022
Enjoy affordable prices and lifetime discounts
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Order Now Order in Chat

Ensure originality, uphold integrity, and achieve excellence. Get FREE Turnitin AI Reports with every order.