Question: Please give a solution with an explanation. TIA CC = gCc CFLAGS = Wall -Werror myProg: b.o a.0 c.o $(CC)$(CFLAGS)0 myProg b.0 a.o c.o c.o:
Please give a solution with an explanation. TIA
CC = gCc CFLAGS = Wall -Werror myProg: b.o a.0 c.o $(CC)$(CFLAGS)0 myProg b.0 a.o c.o c.o: c.c c.h b.h $(CC)$(CFLAGS)c c.c b.o: b.c b.h $(CC)$(CFLAGS)c b.c a.o: a.c a.h $(CC)$(CFLAGS)c a.c clean: rm f.0 myProg and the directory listing What commands will be executed if we run the make command in this directory? You can assume that there are no compilation errors, and the make command is run without any arguments. gcc -Wall -Werror -c b.c gcc -Wall -Werror -c a.c gcc -Wall -Werror -c c.c gcc -Wall -Werror -o myProg b.o a.o c.o (b) gce -Wall -Werror -o myProg b.o a.o c.o (c) gcc -Wall -Werror -c c.c gcc -Wall -Werror -o myProg b.o a.o c.o gec -Wall -Werror -c a.c gcc -Wall -Werror -o myProg b.o a.o c.o
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
