Linux Makefile Question:
Download Questions PDF

Which one of the following provides all dependencies in the makefile?
a) $^
b) $*
c) $:
d) none of the mentioned

Makefile Interview Question
Makefile Interview Question

Answers:

Answer #1
a) $^

Answer #2
does not provide all dependencies, but all dependencies for particular target - extremely misleading, wrong wording, btw this is so shitty...

Download Makefile Interview Questions And Answers PDF

Previous QuestionNext Question
When a target of makefile fails to execute:
a) make does not executes any other target dependent on it
b) it returns a status
c) both (a) and (b)
d) none of the mentioned
What is makefile?
a) makefile describes to the make command that how to compile the program
b) makefile contains various statements related with the compilation of target
c) both (a) and (b)
d) none of the mentioned