Makefile - CompWisdom
About us  |  Why use us?  |  Press  |  Contact us

 

Topic: Makefile



  
 Makefile - definition of Makefile in Encyclopedia
Make reads the makefile at current working directory by default, which is a common practice among computer programmers.
Its input is a list of specifications (usually known as a makefile) describing dependency relationships between the generation of files and programs.
The file commonly is maintained in the base directory of a project during the development process.
http://encyclopedia.laborlawtalk.com/Makefile   (1009 words)

  
 Directory - Computers: Software: Build Management: Makefile Generators
Makefile generators reduce the human costs of software builds by automating some of the tedious and error-prone work of creating makefiles.
The makefile generation problem is very difficult to solve, so most makefile generators are simple.
Smart Makefile Now  · iweb · cached · Codefast - Smart makefile, perlfile, and antfile generators for software processes, including software builds.
http://www.incywincy.com/default?p=809593   (294 words)

  
 CREATING A MAKEFILE
It is quite possible to build a makefile so that the Unix make utility compiles and links in the same manner as done by the VMS command files many people are familiar with, i.e., compile all source files and then link all object files to create the executable.
This article describes how to construct a makefile, and uses the makefile created as part of the MFIT port from VMS to Unix as an example.
As for the DISSPLA macro, this is an environment variable defined in the author's.login file.
http://fusion.gat.com/computers/1997_10_makefile.html   (1613 words)

  
 Writing Larger Programs
Makefile says which object and library files need to be linked and which header files and sources have to be compiled to create each object file.
Basically, we write a sequence of commands which describes how our program (or system of programs) can be constructed from source files.
Time and date of each object file are checked against source and header files it depends on.
http://www.cs.cf.ac.uk/Dave/C/node35.html   (2092 words)

  
 LWN: 2.5.59+ kernel makefile documentation
The kbuild Makefile uses information from the.config file to construct various file lists used by kbuild to build any built-in or modular targets.
The Makefiles use only the documented features of GNU Make, but they do use many GNU extensions.
In the case of one source file, the kbuild makefile simply adds the file to $(obj-m).
http://lwn.net/Articles/21835   (4008 words)

  
 LLVM Makefile Guide
The LLVM Makefile System is the component of LLVM that is responsible for building the software, testing it, generating distributions, checking those distributions, installing and uninstalling, etc. It consists of a several files throughout the source tree.
Tells the Makefile system to produce detailed output of what it is doing instead of just summary comments.
The LLVM Makefile system will infer the source files from the contents of the source directory.
http://llvm.cs.uiuc.edu/docs/MakefileGuide.html   (3428 words)

  
 SourceForge.net CVS Repository - log - cvs: popfile/engine/Makefile
This file is turning into popfile-service.exe by instructions on the Makefile.
Makefile: Add instructions to build the Windows service version of POPFile.
It sometimes dies quickly complaining about an illegal value 'John' for input 'text2' Makefile tests/Makefile: Add new 'eachtest' target that runs each test in a for loop to help with some test debugging.
http://cvs.sourceforge.net/viewcvs.py/popfile/engine/Makefile?rev=1.38&view=log   (3485 words)

  
 Makefile Tutorial
When checking the dependencies, the makefiles checks if any of the dependent files are targets, and if so, it looks at those dependencies, and, based on the timestamp, it may run commands to update the dependent files, and then update the target.
You use macros in makefiles for the same reason you define constants in programs.
The problem, unfortunately, lies not with the user of the makefile, but the person who originally programmed it.
http://www.cs.umd.edu/class/spring2003/cmsc214/Tutorials/makefile.html   (2976 words)

  
 Using a makefile for managing a C++ program project
If you have separate directories for each assignment(a good idea) then naming the file "makefile" is perfectly logical, since it will be in the directory of the files to "make".
We will be using a makefile to manage a list of files that "make" or build a C++ executable program.
A C++ program can be (and usually is) built (created) with several source code files and several header files.
http://www.stedwards.edu/science/baker/help/makefilehelp.html   (750 words)

  
 Makefile Tutorial -- CS361
The first thing you should do when making a project is create a makefile, it makes your life a lot easier.
Makefiles are very very helpful when dealing with projects.
The program make, looks at dependency1 and sees it is dependent upon dependencyA, so then it looks later in the makefile for how dependencyA is defined.
http://oucsace.cs.ohiou.edu/~bhumphre/makefile.html   (703 words)

  
 Automating Program Compilation - Writing Makefiles
This is not always true, but it is better to make a redundant compilation, than to have object files that are not synchronized with the source code.
You need to supply the rules for compiling various files and file types, and the list of dependencies between files (if file "A" was changed, then files "B", "C" and "D" also need to be re-compiled), but that only has to be done once.
Now, if we run "make depend", the "makedepend" program will scan the given source files, create a dependency list for each of them, and write appropriate rules to the file ".depend".
http://users.actcom.co.il/~choo/lupg/tutorials/writing-makefiles/writing-makefiles.html   (1685 words)

  
 makefile Computer Encyclopedia Enterprise Resource Directory Complete Guide to Internet
A makefile contains variable assignments and rules of the form target: inputs commands which say if any of the files in "inputs" has been modified more recently than file "target" (or if the target does not exist) then execute "commands", which will normally bulid "target" from "inputs".
A script which tells the Unix program "{make}" how to build a particular computer program or set of programs.
makefile Computer Encyclopedia Enterprise Resource Directory Complete Guide to Internet
http://www.jaysir.com/computer-encyclopedia/m/makefile-computer-terms.htm   (102 words)

  
 GNU Make
program uses the makefile data base and the last-modification times of the files to decide which of the files need to be updated.
In the makefile for a program, many of the rules you need to write often say only that some object file depends on some header file.
This string, used anywhere in a makefile, is replaced by a space-separated list of names of existing files that match one of the given file name patterns.
http://www.cs.utah.edu/dept/old/texinfo/make/make.html   (13205 words)

  
 makefile.tpl File
This file merely indirects to the real makefile # that is shared by all the components of the DDK.
http://www.osronline.com/ddkx/ddtools/build_ref_06er.htm   (40 words)

  
 GNU Make - GNU Project - Free Software Foundation (FSF)
When you write a program, you should write a makefile for it, so that it is possible to use Make to build and install the program.
For each non-source file in the program, the makefile specifies the shell commands to compute it.
It is a good idea to follow these conventions in your program even if you don't intend it to be GNU software, so that users will be able to build your package just like many other packages, and will not need to learn anything special before doing so.
http://www.gnu.org/software/make/make.html   (989 words)

  
 Untitled Document - Makefile Conventions
If it is, they should not try to use it; they should cancel the second installation of the header files.
This chapter describes conventions for writing the Makefiles for GNU programs.
This target need not rebuild any documentation files; Info files should normally be included in the distribution, and DVI files should be made only when explicitly asked for.
http://www.math.utah.edu/docs/info/make-stds_1.html   (2118 words)

  
 UWA Theoretical Chemistry - Recompile
Some compilers are slightly smarter, and do not touch the module information file if its contents have not changed, but the downside to this is that "make" thinks the module information file is out of date compared to the source file.
This presents a problem to "Make", as although object files need recompilation when source files are changed, module information files may not.
The module information file(s) and the object file have the same dependencies and prerequisites.
http://www.theochem.uwa.edu.au/fortran/recompile   (2210 words)

  
 TAS Makefile Example
Building a TAS executable with this Makefile requires some care of the environment in which it is run.
This is a GNU Makefile which will build an example TAS executable image on SUN.
At minimum the MID variable needs to be set for the correct.mid file you have.
http://www-rnc.lbl.gov/EOS/TAS2/TAS_MAKE_EX.html   (295 words)

  
 Makefile Tutorial
Makefiles are special format files that together with the make utility will help you to automagically build and manage your projects.
this program will look for a file named makefile in your directory, and then execute it.
This syntax applied to our example would look like:
http://mrbook.org/tutorials/make   (629 words)

  
 Tutorial - Makefile
Both the initialization file and the makefile are composed of the following components: comments, dependency lines, directives, macros, response files, rules and shell lines.
Response files can also be coded “inline” in your makefile.
The makefile has instructions for a specific project.
http://www.opussoftware.com/tutorial/TutMakefile.htm   (1929 words)

  
 Advanced Auto-Dependency Generation
In this case, the output is written to a temporary file and post-processed.
These dependency files are then all included by the makefile, to obtain dependency info.
program, which reads C source files and generates a list of the header files in a target-dependency format suitable for inclusion in (or appending to) a makefile.
http://make.paulandlesley.org/autodep.html   (2346 words)

  
 A Simple Makefile Tutorial
So now you have a perfectly good makefile that you can modify to manage small and medium-sized software projects.
The following makefile defines paths to the include and lib directories, and places the object files in an obj subdirectory within the src directory.
Second, if you are only making changes to one.c file, recompiling all of them every time is also time-consuming and inefficient.
http://palantir.swarthmore.edu/maxwell/classes/tutorials/maketutor   (981 words)

  
 Makefile+Dependencies
For example, the Library Makefile must check for the existence of a lock file before proceeding, and create one (with name, hostname, process#, date/time) to prevent conflicts.
This procedure cd's to each of the specified library directories in the Release tree and creates a Makefile using the Library Makefile template; generates the Makefile.cdepend and Makefile.fdepend files; and tailors the Makefile as required.
On envocation, the Makefile checks compares the current environmental variables with those in the file, and envokes make depend if they do not agree.
http://www.hep.wisc.edu/~jnb/makedepend.html   (1221 words)

  
 Generated Makefile
Both of these makefile types rely on definitions in the platform.mk make include file.
This makefile contains a rule to invoke XBinder to regenerate the.c and.h files if the XSD source file changes.
Header file dependencies are generated for all the source files.
http://www.obj-sys.com/docs/xbCCppUGv1p1/XBinder90.html   (205 words)

  
 Managing Modularity: Makefiles and Libraries
When we type "make" (Line 4), make will read the file Makefile and try to build the first item it encounters (if it is not already up-to-date), which is WC, which depends on all the.o files (Line 3 of the Makefile listing).
For large, complex programs with very long makefiles, this is a big help.
In this case, we need all those.o files to be linked together into one executable file (WC), and calling cc will result in ld being called to do the linking.
http://heather.cs.ucdavis.edu/~matloff/UnixAndC/CLanguage/Make.html   (3065 words)

  
 The Glue Makefile
The idea is that a project developer can make use of this file with Doozer++ macros so that he or she does not have to know all the variables that may be substituted by the macros.
Of course, some details are encapsulated within Doozer++ makefile stubs, so getting a complete understanding is not necessarily a straightforward process.
, which always has an absolute path, is required so that this file can be included by any other makefile in the module's source tree.
http://www.vrjuggler.org/docs/juggler.build.system/build.system/ch08s02.html   (2982 words)

  
 Makefile tutorial
Suppose that the student is trying to build a program that is spread across multiple C++ classes, each of which has a.h file and a.cpp file.
This example shows dependencies that are not files, but rather, are other targets in the Makefile.
For example, the Linux kernel, which consists of 100+ megabytes of source code, is configured and built using make.
http://www.csee.usf.edu/~jcarlso1/tutorials/make.html   (1263 words)

  
 Creating or Updating a Makefile
A makefile tells the build program how to construct and maintain programs and libraries.
Next, it scans for included files, and appends this dependency information to the makefile.
The Program Builder only works with makefiles created using the Program Builder as described here.
http://www.emsl.pnl.gov/docs/mscf/xlf/xlf710/builder/tasks/tspcrmak.htm   (506 words)

  
 The GNOME Build Environment
Since our Makefile.in file in Section 3.1.2 was empty, the output file, Makefile, was also empty.
Aside from the config.cache and config.status files we saw in the configure listing, we also see the config.log file (empty except for the opening comments because we didn't run any real tests), and the Makefile file generated from Makefile.in.
Remember, if you fail to run autoconf after altering configure.in, none of your changes will propagate to your makefiles.
http://developer.gnome.org/doc/books/WGA/gnome-build.html   (1662 words)

  
 CVS log for src/Makefile
Pull up following revision(s) (requested by lukem in ticket #716): Makefile: revision 1.240 Modify "release" to invoke "make distribution" instead of "make build", so that the "obsolete file removal" functionality of "distribution" is used.
Put the code into the install-info gnu subdir as it's the program updating the dir file.
This all has to happen because METALOG depends on _SRC_TOP_OBJ which is now not defined in the top level Makefile per tv's last commit.
http://cvsweb.netbsd.org/bsdweb.cgi/src/Makefile   (6265 words)

  
 add library to makefile - The macosxhints Forums
Instead of editting the Makefile after./configure generates it, you can usually pass the flag in the LDFLAGS environment variable (as mentioned in './configure --help').
Try./configure with and without LDFLAGS and see if your value was saved in a Makefile somewhere.
A well-behaved./configure will add whatever env vars you explicitly specify to those it already determines and then hardcode all of it into the Makefile.
http://forums.macosxhints.com/showthread.php?s=&threadid=43678   (415 words)

  
 DocBook Makefile Templates
Adapted from the FreeBSD Makefiles for use on Linux, especially Debian/GNU Linux.
IMO usable for new documentation projects (already started projects should use their current toolchain because it would be to much work to convert their custom stylesheet files, etc.).
Automatic conversion of used image files to other formats using convert from ImageMagick (depending on the created output format).
http://www.miwie.org/docbkmake   (165 words)

  
 CVS log for pkgsrc/sysutils/gtk-send-pr/Makefile
This causes the X11 package buildlink3 and builtin logic to be executed at the correct place for buildlink3.mk and builtin.mk files that previously set USE_X11, and fixes packages that relied on buildlink3.mk files to implicitly note that X11 is needed.
Instead, turn pkg-config into a "tool" in the tools framework, where the pkg-config wrapper automatically adds PKG_CONFIG_LIBDIR to the environment before invoking the real pkg-config.
The fifth major change is in how packages note that they use X11.
http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/gtk-send-pr/Makefile   (1474 words)

  
 How does make do it?
The make program gets its dependency "graph" from a text file called makefile or Makefile which resides in the same directory as the source files.
Make checks the modification times of the files, and whenever a file becomes "newer" than something that depends on it, (in other words, modified) it runs the compiler accordingly.
http://www.eng.hawaii.edu/Tutor/Make/2-3.html   (88 words)

  
 C Programming Tutorial: Make and Makefiles
GNU autoconf is a tool for automatically generating configure files from a configure.in file.
Now if you change just kbd.c, it will only recompile kbd.c into it's object file and then relink all of the object files to create edit.
But this isn't why make is such a nice tool for program building and management.
http://vergil.chemistry.gatech.edu/resources/programming/c-tutorial/make.html   (668 words)

  
 tom7 @ cs cmu edu : makefile tutorial
This makefile uses variables to promote reusability; you can use this same makefile for a different project by simply changing the program name and the list of support.o files.
By setting the CPP variable to g++ and the CPPFLAGS variable to some flags we like (-O2 to optimize, -g to include debugging symbols, -Wall to warn us about possible errors), we can shorten most makefiles to just these few lines, and compile and manage big programs with just 'make'.
In this makefile we split the compiling process into two steps: generation of the *.o object files (compilation) and generation of the lab13 executable (linking).
http://www.cs.cmu.edu/~tom7/211/make.html   (580 words)

  
 Makefile commands
This command is not needed by general users, it is used by VMD developers to generate the files which are made available via anonymous FTP.
The particular files checked out depend on which optional components were specified when the configure script was run and the Makefile created.
Copies of the proper files must be checked out from the RCS directory, and the source code dependencies must be up to date (see
http://www.ks.uiuc.edu/Research/vmd/vmd-1.2/pg/node21.html   (684 words)

  
 SWF Scripting and Library Project
I first wrote those for myself to test the software before to post it and thus they were all specific to my development environment instead.
Only one makefile and that's only compatible with amake under Linux at this time.
The source is totally functional (coming from V1.5.1 with only a few minor bug fixes and one enhancement -- SSWF can load JPEG images) but the new structure may cause some problems since I didn't check everything yet.
http://sswf.sourceforge.net   (2799 words)

  
 Setting a Makefile variable from outside the Makefile
The last line shows that variables defined inside a Makefile override values in the environment.
Start by considering this simple Makefile that prints the value of
If you want to us a hammer to “solve” this problem you can set GNU Make's
http://www.cmcrossroads.com/article/32601   (527 words)

  
 Doom3 world :: View topic - Compiling on Linux
Obviouly change the BASEDIR to match yours, also the last thing it does is copy the game00.pk4 with the new gamex86.so in to../dev
all it needs is some one that uses linux to create a makefile for it
Anyway, i've whacked together a patch that applies to the SDK if it's copied directly from a fat32 partition under linux to a linux filesystem, and includes a few modifications to the original Makefile posted in this thread.
http://www.doom3world.org/phpbb2/viewtopic.php?p=58400   (1742 words)

  
 Classic IDE - Makefile
In the makefile is stored definition how to built/make the project.
The user can also edit the file in the Text editor window.
The user can view the makefile in the Text editor window.
http://diablo.national.com/CIDE/makefile.html   (652 words)

  
 Javadoc FAQ
One of our developers, John Visosky, has donated a generic batch file and makefile for running javadoc on Windows.
For an example using a make file, please see the makefile question.
The following is a solution for Solaris makefiles.
http://java.sun.com/j2se/javadoc/faq/index.html   (12359 words)

  
 The UNIX Forums - makefile query
In case the source files and Header files are present in other directories, then modify the paths pointed by variables INCLUDE_PATH and SOURCE_PATH respectively..
I am not familier with Sun Worstation, i will tell u the situation in unix environment.
The UNIX Forums > Network Computing Topics > C Programming in the UNIX Environment
http://www.unix.com/showthread.php?t=8626   (279 words)

  
 Makefile help!
Is there an easy way to do this with a MAKEFILE using MS NMAKE.
I then need to add all the resultant OBJ files to LIB file.
It'd be a doddle to just select all the files and add them all at once to a Project!
http://www.keil.com/discuss/docs/thread2294.htm   (138 words)

  
 Newmake - Makefile generator
Newmake is a utility to generate Makefiles and manage an entire tree of source code across multiple architectures.
The task was to write several Makfefile templates that a developer could use when creating new projects.
Rather than creating the templates, I wrote a bunch of scripts that would generate an appropriate Makefile given the type of project desired.
http://www.newmake.com   (148 words)

  
 libPNG Makefile-deluxe
This Makefile fully supports using an external directory location for building libPNG, thus avoiding the potential inconveniences of mixing the libPNG source code files with object code files and other products and by-products of the build process.
In theory, doing so may allow higher performance by cutting the overhead involved in the scenario in which libPNG routines are calling (are linked to) Zlib routines in an external Zlib DLL.
As an experimental feature this Makefile also provides a very simple means of creating a libPNG Dynamic Link Library (MSWin32 DLL) which has the Zlib object code within it as well.
http://home.att.net/~perlspinr/makefiles/libpngMakefile-description.html   (762 words)

  
 [dcms-cvs] cvs commit: pcms/gc6.0 .cvsignore MacProjects.sit.hqx Makefile.DLLs Makefile.am Makefile.direct Makefile.dj ...
The only way to develop code with the collector for Windows 3.1 is to develop under Windows NT or 95+, and then to use win32S.
If you need thread support, you will need to either follow the special platform-dependent instructions (win32), or add a suitable define option as described in Makefile.
# This Makefile contains rules for creating DLLs on Windows using gnu-win32.
http://www.eros-os.org/pipermail/opencm-cvs/2002-April/000447.html   (6844 words)

  
 [Tugindia] Makefile
The `configure' program generates `Makefile' from `Makefile.in' (and often other xxx from xxx.in), and the `automake' program generates `Makefile.in' from `Makefile.am'.
`make' merely uses a file `Makefile', and that needs to be generated in the first place.
Next message: [Tugindia] Could we find breaking point of each page
http://www.tug.org/mail-archives/tugindia/2003-March/001410.html   (187 words)

  
 Printing the value of a Makefile variable
Whether it was defined in a Makefile, on the command-line, or in the environment).
Modifying helper.mak prints out origin information as well.
In a real multi-thousand line Makefile that unleashes the power of GNU Make's variables and functions figuring out the value of a variable can be a laborious task.
http://www.cmcrossroads.com/ubbthreads/showthreaded.php?Number=28829   (443 words)

  
 Bill de hÓra: Never mind the printers, here's the makefile
Bill de hÓra: Never mind the printers, here's the makefile
http://www.dehora.net/journal/2004/06/never_mind_the_printers_heres_the_makefile.html   (57 words)

Compwisdom
 About us   |  Why use us?   |  Press   |  Contact us

 Copyright © 2006 CompWisdom.com Usage implies agreement with terms.