Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Consider the makefile given below. The files: schools.c, office.c, faculty.c, research_grp.c, student_info.h, net_id_info.h and address.h are all within the same directory as makefile. university: sc

Consider the makefile given below. The files: schools.c, office.c, faculty.c, research_grp.c, student_info.h, net_id_info.h and address.h are all within the same directory as makefile.

university: schools.o office.o faculty.o research_grp.ogcc -o university schools.o office.o faculty.o research_grp.o

schools.o: schools.c student_info.h address.hgcc -c schools.c

office.o: office.c net_id_info.h address.hgcc -c office.c

faculty.o: faculty.c net_id_info.h address.hgcc -c faculty.c

research_grp.o: research_grp.c student_info.h address.hgcc -c research_grp.c

clean:rm -rf *.o student_info.h

(a) Assume that there are no binary files in the directory to begin with. What new files would be generated after the make command is executed? Also, write the order of files creation.(b) Suppose I run touch student_info.h and then execute make again in the above directory. What new files would be generated in this case and in what order?(c) Suppose I run make clean. What would be the problem when I run make again? What file would I need to copy to my working directory to handle this problem?

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question