PAUSE
ENCORE
BOX
LESSON REVIEW
QPR1
1. Although make was designed to maintain, update and
regenerate programs, you can use it for all applications
where files are transformed into other files and where the
necessary transformations depend on the last modification
times.
true or false
QPR2
2. Which of the following actions are part of make's basic
operation?
a Find the target in the description file.
b Make sure that all files on which the target depends
exist and are up to date.
c Create the target file if it is out of date.
d a and b
e b and c
f a and c
g a, b, and c
QPR3
3. The default description file used by make is called _______________.
QPR4
4. Macros are a simple mechanism for substitution. To
use a macro, you precede the macro name with a _____ sign.
QPR5
5. To process libraries, the : which is usually used
to separate targets and dependants, is replaced by ______.
QPR6
6. run: file1.o file2.o
cc -o run file1.o file2.o
file1.o file2.o: run.h
Given the make file above, if files file1.o and file2.o
already existed, but were older than file run.h when the
command make run was typed, what is the first command
that make would execute (assuming all source files
were available)?
QPR7
7. Given the following makefile script:
OBJS=file1.o file2.o
CFLAGS = -O -DITS
CC = cc
transform: $(OBJS)
$(CC) $(CFLAGS) (OBJS) -o transform
After the command make transform, if objects do not exist,
the first command generated by make will be ___________.
RINTER
______________________________________________________________________________
$PRMT_STR$
That is correct!
You've got it on the 2nd try.
Good, you understand the concept.
$F_DIAG_L1$
$F_DIAG_L2$
$F_DIAG_L3$
$S_DIAG_L1$
$S_DIAG_L2$
$S_DIAG_L3$
$REV_STR1$
$REV_STR2$
FORGET1
The correct answer is: $ANSWER$
GO