Linux Makefile Question:

The command "make google" will:
a) create the executable if google.c file is present in the current directory
b) create the object file named as google.o
c) give an error
d) none of the mentioned

Makefile Interview Question
Makefile Interview Question

Answer:

a) create the executable if google.c file is present in the current directory


Previous QuestionNext Question
The makefile starts executing from:
a) first target
b) first target whose name starts with "."
c) first target whose name does not starts with "."
d) none of the mentioned
If our makefile is named as "google", then which one of the following command will compile the code with this makefile:
a) make -a google
b) make -f google
c) make sanfoudry
d) make