![]() ![]() ![]() Makepp (short for Make-plus-plus, or make++) is a tool for solving exactly this problem. A reliable automatic tool is necessary for determining exactly which modules need recompilation. Forgetting to recompile a file can mean hours of frustrating debugging. However, it's too error-prone to allow a human to tell the computer which files need to be recompiled. However, a straightforward shell script is seldom used for compiling a program, because it's too time-consuming to recompile all modules when only one of them has changed. The commands are too long to be typed in manually every time. Another source of examples and advice on writing makefiles for makepp is the makepp_cookbook manpage.īuilding a program from its source files can be a complicated and time-consuming operation. If you already know a lot about writing makefiles, you might want to at least peruse the later sections of this file because they show the preferred way to do things with makepp, which is often different from the traditional way to do it with make. This is an introduction for writing makefiles that are specific to makepp. ![]() Makepp can accept most makefiles written for the standard Unix make, but if you're starting from scratch, it is often much simpler to use some of makepp's advanced features. Explicit specifications of alternate directoriesĪ makefile is the set of instructions that you use to tell makepp how to build your program.Source/Object Separation and Variant Builds. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |