Makefile Quiz 2

Please thoroughly familiarize yourself with the example Makefiles prior to taking this quiz.

1. CCFLAGS is a macro that defines how the files are to be compiled.

True False

2. The macro definition "INCLUDES = -I$(DESTDIR)/include" means the executable files will be placed in:
/home/destdir/include /home/destdir /destdir/include /home/your_user_name/include

3. To install the executable files in the your_user_name/bin directory, a person need to type make install1 while in the source_code directory.
True False

4. While in the source_code directory, a person needs to type make remove all to have all the files in the your_user_name/bin directory erased.
True False

5. The reason the source_code makefile knows what the macro PROGRAM means is because the client makefile has the statement include ../Makefile in it.
True False


Susan M. Garver, Spring 1998