Draw the dependency tree for the following makefile. With this makefile, show the result of execution of the make utility.

What will be an ideal response?


build: spiderc spiderg
spiderc: process.o commandline.o
gcc process.o commandline.o -o spiderc
spiderg: process.o graphical.o
gcc process.o graphical.o -o spiderg
process.o: process.c process.h
gcc -c process.c -lnsl
commandline.o: commandline.c commandline.h
gcc -c commandline.c
graphical.o: graphical.c graphical.h
gcc -o graphical.c [end scr]

Computer Science & Information Technology

You might also like to view...

A network that is geographically dispersed and may use some form of public or commercial communications network is called a(n):

a. LAN b. WAN c. Internet d. WWW

Computer Science & Information Technology

Write a statement that creates a constant variable named TAX_RATE. The tax rate is 8.25%.

What will be an ideal response?

Computer Science & Information Technology

The term ____ comes from the fact that it looks something like the code in a computer programming language, but not quite.

A. pseudocode B. pidgin code C. machine code D. interpretive code

Computer Science & Information Technology

Every object in a sequence container has a specific position.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology