Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

Consider the Makefile CCgcc CFLAGS-Wall-Werror myProg: b.o a. c.o ${CC) $(CFLAGS) - myProg b.o a. c. C.O : C.cc.h b.h ${CC) ${CFLAGS) -cc.c b.o :

image text in transcribed
Consider the Makefile CCgcc CFLAGS-Wall-Werror myProg: b.o a. c.o ${CC) $(CFLAGS) - myProg b.o a. c. C.O : C.cc.h b.h ${CC) ${CFLAGS) -cc.c b.o : bic b. S(CC) $(CFLAGS) -cb.c a.0: a.cach ${CC) S(CFLAGS) -ca.c clean: rm-f 2.0 myProg and the directory listing $ ls -1 -rw-r---- 1 ashesh ashesh 241 Sep 27 18:06 Makefile -rw-r---- 1 ashesh ashesh 768 Sep 27 18:02 a.c -rw-r--r-- 1 ashesh ashesh 254 Sep 27 18:17 ..h -TW------- 1 ashesh ashesh 2664 Sep 27 18:44 a. -rw-r---- 1 ashesh ashesh 1997 Sep 27 18:28 b.c -rw- r1 ashesh ashesh 45 Sep 27 18:45 b.h ----- 1 ashesh ashesh 920 Sep 27 18:26 6.0 -rw-r---- 1 ashesh ashesh 494 Sep 27 18:04 C.C -w------ 1 ashesh ashesh 45 Sep 27 18:03 c.h -W 1 ashesh ashesh 1984 Sep 27 18:26 C.D -WX- 1 ashesh ashesh 17872 Sep 27 18:44 myProg $ What commands will be executed if we run the make command in this directory? gcc-Wall-Werror -cb.c gcc-Wall -Werror -ca.c gcc-Wall-Werror -C C.C gcc-Wall-Werror - my Prog b. a. c. ib) gcc-Wall -Werror -cb.c gcc-Wall-Werror - myProg b.o ao co c) gcc-Wall -Werror - C.C gcc-Wall-Werror - myProg b.o a. C.O (d) GCC -Wall-Werror -cb.c gcc-Wall-Werror -C C.C gcc-wall-Werror - myProg b. 3. c. (e) gcc-Wall Werror -ca.c gcc-Wall-Werror - myProg b.o a. C

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_2

Step: 3

blur-text-image_3

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

Making Databases Work The Pragmatic Wisdom Of Michael Stonebraker

Authors: Michael L. Brodie

1st Edition

1947487167, 978-1947487161

More Books

Students explore these related Databases questions

Question

3. How has e-commerce transformed marketing?

Answered: 3 weeks ago