Create an archive named foobara containing the object files


Problem

1. A make rule doesn't always have a dependency, and the target need not be a disk file. Explain with an example of a makefile entry.

2. Specify the commands that will

(i) create an archive named foobar.a containing the object files foo1.o and foo2.o,

(ii) delete foo2.o from the archive. Can this archive be used with the -l option to cc?

3. What does this entry in a makefile mean? What command does make run if a.h is modified?

foo.a(a.o): a.h

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Create an archive named foobara containing the object files
Reference No:- TGS02672000

Expected delivery within 24 Hours