Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the Makefile below. It resides in my software development folder, along with files x.c, y. z.c, x.h, y.h, z.h, and w.h. All these files

image text in transcribed

Consider the Makefile below. It resides in my software development folder, along with files x.c, y. z.c, x.h, y.h, z.h, and w.h. All these files have a timestamp of 11:00am. There are no other files in my software development folder ## Makefile for my project top: x.o y.o 2.0 CC -o top x. y. z.o X.0: X.cw.h CC-CX.C y.o: y.c y.h w.h CC-Cy.c Z.O: Z.cz.h w.h CC -CZ.C clean: rm -rf .c*. *.0 a) Now assume we run make" at 11:15am. The binary top is created along with some other files. I test the binary and it works perfectly. I then go to lunch. What other files are created in my software development folder along with top? b) Now at 1:00pm, I run "touch y.h. I run "make" again at 1:05pm. What files are regenerated as a result of my running "make"? c) Now at 1:10pm, I make changes to x.h, redefining some fields in a struct in the file, and also adding a new struct. I run "make" again at 1:14pm. What files are regenerated as a result of my running "make"? d) After running "make" in the last step, I test the binary again, and it crashes. What is likely possible reason for this crash? e) Frustrated, at 1:20pm, I decide to recompile the entire project from scratch. I decide to run make clean", and then run "make". I run "make clean" with no errors. When I run "make", I get several new errors. What is the cause of these errors

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

4. Identify cultural variations in communication style.

Answered: 1 week ago

Question

1. Explain why evaluation is important.

Answered: 1 week ago