Question: Linux True and False Questions (make) Please Answer True or False with a simple explanation 1. If the command: make SRC=testfile runs successfully, and SRC

Linux True and False Questions (make)

Please Answer True or False with a simple explanation

1. If the command: make SRC=testfile runs successfully, and SRC is changed to testfile, it means the Makefile has a macro named SRC

2. A phony target is ignored by make, similar to how a comment is ignored by make

3. When make creates the first target file listed in the Makefile, it's possible that multiple other target files are also created

4.

Assume there is a subdirectory called backup in the current directory, and all other files in the current directory are C files. The Makefile rule: clear: @mv *.c backup

will produce an error because there is no @mv command

5. When there is a makefile and the command make is entered with no option or argument, then only the first rule of the makefile will run. The rest of the rules in the makefile are ignored by make.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!