[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.
Nursing
Perfectly done! Thanks again.
Customer 452707, July 18th, 2022
Nursing
Always perfect! Thank you!!!
Customer 452453, April 15th, 2021
English 101
I'm glad i came to you guys
Customer 452519, May 11th, 2021
Social Work and Human Services
Excellent Work!
Customer 452587, November 30th, 2021
Other
GREAT
Customer 452813, June 20th, 2022
Education
Thank you so much for your help so I do not go insane from trying to do this. I have 2 more courses to do. Probably will be using you again.
Customer 452675, November 28th, 2021
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
Communications
Thank you very much
Customer 452669, November 17th, 2021
Business and administrative studies
GREAT
Customer 452813, June 20th, 2022
Social Work and Human Services
Excellent Work!!!!
Customer 452587, November 29th, 2021
Psychology
The paper is well written and professional. I highly recommend
Customer 452485, August 22nd, 2021
Other
GREAT
Customer 452813, June 25th, 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

SAVE BIG FOR FINALS. Order your essay today and save 20% with the discount code SPECIAL20