answersLogoWhite

0

What is the purpose of makefile?

Updated: 9/19/2023
User Avatar

Wiki User

11y ago

Best Answer

it is used for re-compilation of your source file

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the purpose of makefile?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is a makefile project in c plus plus?

You use a makefile project when you have a project that you normally build from the command line. Your IDE will not recognise this project so you must create a makefile project for it. In Visual C++, for instance, you can use the Makefile Project Wizard to create a Makefile Project.


What is a makefile in c plus plus?

A makefile is essentially a script that is used by the make utility to build your executable. In other words, they provide the means by which compilation can be automated, reducing typically complex compiler and linker commands to a relatively simple make command. The makefile is just a plain-text file that contains one or more targets along with their dependencies and/or command lines. For additional help, consult the make utility documentation.


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?

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.


What is the purpose of a cleat?

what is the purpose of the clam-cleat what is the purpose of the clam-cleat


What is the purpose of gateway?

the purpose of gateway is to combine hardware and software

Related questions

What is a makefile project in c plus plus?

You use a makefile project when you have a project that you normally build from the command line. Your IDE will not recognise this project so you must create a makefile project for it. In Visual C++, for instance, you can use the Makefile Project Wizard to create a Makefile Project.


What is a makefile in windows?

A makefile is a simple configuration file to instruct a compiler into creating a binary from the source code. Most users do not need to use a makefile; they can just download a pre-compiled binary from the program's website.


What is a makefile in c plus plus?

A makefile is essentially a script that is used by the make utility to build your executable. In other words, they provide the means by which compilation can be automated, reducing typically complex compiler and linker commands to a relatively simple make command. The makefile is just a plain-text file that contains one or more targets along with their dependencies and/or command lines. For additional help, consult the make utility documentation.


What is unique about the makefile computer language?

Makefiles are unique in they are a miniature computer language of its own. It contains 10 different targets all in computer science language. Also it's not limited to a certain language.


How do you uninstall tar file?

The tar utility is not an install/uninstall utility. Typically files downloaded as a tar archive can be extracted, using the tar command, to a specified directory. Then further instructions contained in the extracted files can be followed to complete the installation. Then uninstallation, if desired, would be the reverse of the installation process. Often installation involves use of the make command in conjunction with a makefile contained in the archive. The makefile may include a target suggestively named "clean", for example, for uninstalling the installed files.


How compile and run in Linux?

Usually the compilation is done using the "make" command if the developer hasn't created a .sh file that includes the "make" inside of it. And most of the times "make install" is the command you can see for installing the compiled program on the system. This could differ from program to program, developer to developer, language to language. However, if you get a Makefile, it definitely uses the "make" command and if you use "cat Makefile" you may be able to get an idea on how to use "make" commands for compilation and installation. After installation, the program could be run just by typing the program name on the terminal.


What tool translates a c plus program into machine language?

You haven't listed any "tools", however the compiler followed by the linker produce the native machine code. from source code. A MakeFile combines the two operations into a single "build" operation.


How do i compile the psp emulator gpsp?

(I'm the person who asked the question) I managed to compile it successfully, yet I encountered issues when loading a game. I believe this is because I don't include the libs library in the compiling process because I don't know how. I have pspsdk, and I'm using command prompt and the makefile to compile.


What is the purpose of edsa revolution?

the purpose of this is to have a purpose


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?

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.


Use the word purpose in a sentence?

What is the purpose of this sentence?I did not do that on purpose.


What is a best sentence for purpose?

Opinions vary as to the purpose of the best sentence for the use of the word 'purpose'. This serves no purpose. I reached out to the porpoise on purpose.