Recognize the purpose of a phony action

A directory contains a regular file named clean. A developer uses GNU make with the Makefile below. Which statements correctly describe the rule's behaviour? Select every correct statement. Assume the removal command succeeds.


makefile
.PHONY: clean
clean:
	rm -f viewer viewer.o
Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Makefiles Questions: