Answered step by step
Verified Expert Solution
Question
1 Approved Answer
English Given the following Makefile, indicate which of the following statements are correct. Note that incorrect answers imply a penalty in the final score. CC
English Given the following Makefile, indicate which of the following statements are correct. Note that incorrect answers imply a penalty in the final score. CC = gec FLAGS = -Wall - LIB = -1m PHONY: clean distclean mainvet.o: mainVet.cmy.h $ (CC) $ (FLAGS) - mainvet.c $ (LIB) invet.o: invet.c my.h $ (CC) $ (FLAGS) -c invet.c S (LIB) target: mainVet.o invet.o $ (CC) $ (FLAGS) - myExe mainVet.o invet.o $ (LIB) distclean: clean1 clean2 rm -f distclean clean1: clean3 rm-f cleani clean2: rm -f clean2 clean3: rm -f clean3 rm-f clean3b Select one or more Eseguendo due volte in sequenza "make target", il comando che eseguito "gcc-Wall-g-o myExe mainVet.o invet.o-im". / Executing two times in sequence "make target", the command that is executed is "gcc-Wall-g-o myExe mainVeto in Veto -Im". I target elencati dopo la parola chiave " PHONY" vengono eseguiti indipendentemente dall'esistenza di un file con lo stesso nome che stato modificato pi recentemente delle dipendenze. / Target listed after the keyword" PHONY" are executed regardless the existence of a file with the same name that has been edited more recently than the dependencies. Digitando il comando "make" viene eseguito di default il target denominato "target" / Executing the command "make", the default target that named "target" is executed. Eseguendo "make distclean" la sequenza di comandi che eseguita "rm-f distclean, mm-f clean2, mm cleant; mm-f clean3; rm-f clean3b" /Executing "make distclean the sequence of commands that executed is mm-f distclean; mm-f clean2; mm-f clean1; rm -f clean3; mm-f clean3b
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started