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

Struggling to find relevant content? Order a custom essay on
Chomp
Let our experts save you the hassle
Order Now
Calculate the price
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 how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
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 GPA Fix
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.
Wellness
The skilled writer did a GREAT job on assignment. There are a few details I will add, but overall very happy with their work. Thank you
Customer 452547, June 13th, 2021
Criminal Justice
Great work! Followed directions to the latter.
Customer 452485, September 1st, 2021
Criminal law
Thank You!
Customer 452465, January 29th, 2021
Literature
Thank you , this is perfect !
Customer 452795, May 15th, 2022
Nursing
Perfect as usual!!! Thanks team!
Customer 452453, May 26th, 2021
Human Resources Management (HRM)
Thanks for your assistance and promptness.
Customer 452701, November 1st, 2022
Nursing
Everything was done thoroughly and with care. Awesome job!!!
Customer 452453, April 10th, 2021
Nursing
Thank you!
Customer 452707, June 29th, 2022
IT, Web
Paper was great and accomplished everything I needed.
Customer 452885, October 27th, 2022
Nursing
Thank you!
Customer 452707, April 3rd, 2022
Classic English Literature
Nicely done. Ty. Worth every penny.
Customer 452455, June 6th, 2021
Nursing
Always perfect! Thank you!!!
Customer 452453, April 15th, 2021
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat
error: Content is protected !!

Save More. Score Better. Use coupon code SPECIAL for a 15%discount