Which of the following files will be looked for and used by GNU make, if one of them exists, unless a different file is specified on the command line when trying to compile software from source code? (Choose TWO correct answers.)



A. configure
B. config.h.in
C. makefile
D. Makefile
E. Makefile.in

題解

GNU的「make」指令可以透過「-f」參數來決定要使用的檔案。如果不指定的話,就會依照以下順序嘗試讀取工作目錄中的:

  • GNUmakefile
  • makefile
  • Makefile

所以答案是選項「C」和選項「D」。