answersLogoWhite

0


Best Answer

MAKEFILE is used when compiling large CPP projects for faster compilation. When you change a single file, only this file can be recompiled instead of everything. It comprises of 3 components: target, dependencies and system commands. Based on a time stamp the compiler recompiles the target.

If in case one of its dependencies is also a target, and has a more recent time stamp, this dependency is recompiled before the actual target specified as the first argument. Therefore if you consider this as a tree and each node has its children as its dependencies, then a post order traversal will accomplish our task. While traversing each node the corresponding dependency can be recompiled if its time stamp is higher than its parent.

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Given a MAKEFILE design the data structure that a parser would create and then write code that iterates over that data structure executing commands if needed?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Another word for repeat 7 letters?

Another word for "repeat" with 7 letters is:iteraterestatereprise


In the bubble sort algorithm the second loop iterates ---------- for each of the unsorted array elements?

n-1 times


What is the third iterate of the expression 2X plus 2 when X initially equals 1?

22.The iterates are 1, 4, 10, 22, 46, 94, ...


What is the central limit theorum?

The central limit theorem states that the mean of a sufficiently large number of iterates of independent random variables, each with well-defined mean and well-defined variance, will be approximately distributed. This is the definition in the probability theory.


Why CMPS instruction is used in 8086 programming?

The CMPS instruction in the 8086/8088 is compare string. It iterates until CX is zero, or [DS:SI] is not equal to [ES:DI], incrementing (or decrementing if DF is set) SI and DI, and decrementing CX along the way.


What is a do while statement in c plus plus?

A do-while statement is a type of loop that iterates while a condition remains true. The condition is evaluated at the end of each iteration, thus the statement always executes at least once. do { statement; } while (expression);


What is a mock site?

A mock site is a simplified version of a website or web application that is created for testing purposes. It mimics the functionality of the actual site but may not have all the features or data. Mock sites are commonly used in software development to test different scenarios without impacting the production environment.


Make a C programming that displays the first four perfect numbers?

create a program that iterates until it finds a perfect number, then store that perfect number into an array. Continue iterating until you find three more. Then, you have an array of four perfect numbers.


Briefly explain in your own words The Central Limit Theorem?

According to the Central Limit Theorem, the arithmetic mean of a sufficiently large number of iterates of independent random variables at a given condition is normally distributed. This is based on the condition that each random variable has well defined-variance and expected value.


What are the examples of different type of loop structure c net?

// Examples of five Loop structures in C# // Each one iterates over the characters in a string, and writes // them to the Console. string s = "This is a test"; // For Loop for (int i=0; i<s.Length; i++) Console.Write (s[i]); // Foreach Loop foreach (char c in s) Console.Write (c); // While Loop int i=0; while (i<s.Length) Console.Write(s[i++]); // Do Loop int j=0; do Console.Write(s[j++]) while j<s.Length; // Spaghetti Code int k=0; loop: Console.Write(s[k++]); if (k<s.Length) goto loop;


What are some eight letter words with 1st letter I and 2nd letter T and 6th letter T?

According to SOWPODS (the combination of Scrabble dictionaries used around the world) there are 2 words with the pattern IT---T--. That is, eight letter words with 1st letter I and 2nd letter T and 6th letter T. In alphabetical order, they are: iterated iterates


What are sentinental loop c plus plus?

A sentinel loop is a loop that iterates over a series of values until a special "sentinel" value is encountered. For instance, when iterating over the characters in a string, the null-terminator acts as the sentinel value, indicating that the end of the string has been reached. Sentinel loops typically have the following form: while( get_value(value) != sentinel ) { // do something with value... }