06-23-2005
files have modification times. make looks at those and decides what has to be updated.
modification means the file was saved to disk (possibly changed) at that time.
mkae has some rules of thumb about how it decides to go about keeping things up-to-date. For example, since it knows that object.o requires three source files in order to compile, it checks the modifcation times of each source file. If any of the source files is newer than the object.o file, it rebuilds object.o
If any file uses object.o (now it is newer than it was a minute ago) those files are rebuilt as well.
10 More Discussions You Might Find Interesting
1. Programming
The following is my makefile. When I run "make", it gives me a bunch of error. I've compiled each file separately and there are no compilation errors.
The target is "monprc". Have a look below:
monprc: monprc.o monrep.o dsz.o
cc -o monprc monprc.o monrep.o dsz.o
monprc.o: monprc.c... (1 Reply)
Discussion started by: Yifan_Guo
1 Replies
2. Programming
I wrote a makefile, every thing is working fine,
But One of the C header files which is created by me is kept in a different folder other than the current directory,
I have given this PATH to VPATH Variable
Example :- VPATH = /home/user1/projects/victor.h
It gives an error as : file... (4 Replies)
Discussion started by: victorvvk
4 Replies
3. Solaris
Hi Guys,
I m very confused about the make/makefile utility in all unix.
1) My questions is why we need make.
2) Why some source code needs to complile.
3) I download the Bind 9 from Sunfreeware.com. I use pkgadd -d to install the bind. I 'm struck here becasue I can't find /etc/named.conf... (2 Replies)
Discussion started by: bigmoon
2 Replies
4. UNIX for Dummies Questions & Answers
Hello all
im looking for some kind of utility that convert make files to dsp files
is there any kind of tool/script that does this job?
thanks (1 Reply)
Discussion started by: umen
1 Replies
5. Solaris
(Sorry for previous not on enlish! I did not realized it is english forum. )
I am looking for help with Make utility. I could not get help from the 'man' pages.
1. About Macro (as a variable): It is clear about defining any macro in beginning or in command line, but isn't it no way to redefine... (0 Replies)
Discussion started by: alex_5161
0 Replies
6. UNIX for Dummies Questions & Answers
Hi want to know the syntax of printing something (value or variable) in GNU make utility. I give this in the Makefile:
echo "Hi"
OR
@echo "Hi"
But I only get error this when I run make (at the line where I have echo):
Makefile:9: *** missing separator. Stop.
Whats the problem? How can... (2 Replies)
Discussion started by: radiatejava
2 Replies
7. Programming
Hi,
I'm trying to create a C program that functions like the make utility in UNIX for personal use. My program would read in from a generic makefile and execute whatever is in that makefile but I'm not sure as to where I should start coding.
I would appreciate any help.
Thanks. (1 Reply)
Discussion started by: kratos.
1 Replies
8. Programming
Hi,
Could someone tell me why make utility is mostly preferred for compilation and generating executable in UNIX rather than any user created scripts which contains commands for compilation? (2 Replies)
Discussion started by: naan
2 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I'm a recent convert to UNIX and I'm attempting to understand exactly how the make utility is working under the hood.
Now, I understand that each rule has a target, dependencies, and update command, but the thing I'm confused about is exactly how the utility is determining when to... (1 Reply)
Discussion started by: kramer_102
1 Replies
10. Programming
xmake is a make-like build utility based on lua. (Link to project site: xmake)
The project focuses on making development and building easier and provides many features (.e.g package, install, plugin, macro, action, option, task ...), so that any developer can quickly pick it up and enjoy the... (1 Reply)
Discussion started by: waruqi
1 Replies
BLAZE(1) BlazeBlogger Documentation BLAZE(1)
NAME
blaze - allows you to run BlazeBlogger utilities with a single command
SYNOPSIS
blaze command [option...]
blaze help|man [command]
blaze -h|-v
DESCRIPTION
blaze provides a common way to run BlazeBlogger utilities with a single command.
OPTIONS
Command Line Options
-h, --help
Displays usage information and exits.
-v, --version
Displays version information and exits.
Available Commands
init, in
Runs blaze-init, a utility that either creates a BlazeBlogger repository, or recovers a previously corrupted one.
config, cf, cfg
Runs blaze-config, a utility that either displays, or sets BlazeBlogger configuration options.
add Runs blaze-add, a utility that adds a blog post or a page to the BlazeBlogger repository.
edit, ed
Runs blaze-edit, a utility that edits a blog post or a page in the BlazeBlogger repository.
remove, rm, del
Runs blaze-remove, a utility that removes a blog post or a page from the BlazeBlogger repository.
list, ls
Runs blaze-list, a utility that lists blog posts or pages in the BlazeBlogger repository.
make, mk
Runs blaze-make, a utility that generates a blog from the BlazeBlogger repository.
log Runs blaze-log, a utility that displays the BlazeBlogger repository log.
help Displays usage information, either for the utility itself, or for the selected command.
man Displays a manual page, either for the utility itself, or for the selected command.
version, vs, ver
Displays version information.
ENVIRONMENT
EDITOR Unless the core.editor option is set, blaze tries to use system-wide settings to decide which editor to use.
SEE ALSO
blaze-init(1), blaze-config(1), blaze-add(1), blaze-edit(1), blaze-remove(1), blaze-list(1), blaze-make(1), blaze-log(1)
BUGS
To report a bug or to send a patch, please, add a new issue to the bug tracker at <http://code.google.com/p/blazeblogger/issues/>, or visit
the discussion group at <http://groups.google.com/group/blazeblogger/>.
COPYRIGHT
Copyright (C) 2009-2011 Jaromir Hradilek
This program is free software; see the source for copying conditions. It is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Version 1.2.0 2011-02-18 BLAZE(1)