
make(1) | make(1) |
International Code Set Support
Single and
RETURN VALUES
make returns a 0 upon successful completion or a value greater than 0 if an error occurred. If the
EXAMPLES
The following example creates an executable ®le from a C source code ®le without a make®le, if program.c exists in the current directory:
make program
The following example shows more than one make®le speci®ed and some command line macros de®ned, and updates the ®rst target in module1:
make
The following example updates two targets in a default make®le currently residing in the current directory:
make clobber prog
The following example updates the prog target in a speci®ed make®le, allows environment variables to override any common variables in the make®le, clears the
make
WARNINGS
Be wary of any ®le (such as an include ®le) whose access, modi®cation, and last change times cannot be altered by the
Some commands return
File names with the characters = : @ $ do not work.
The syntax (lib(file1.o file2.o file3.o) is illegal.
You cannot build lib(file.o) from file.o.
The macro $(a:.o=.cÄ) does not work.
Expanded target lines cannot contain more than 16384 characters, including the terminating
If no make®le exists in the current directory, typing
make filename
results in make attempting to build filename from filename.c
If make is invoked in a shell script with a quoted argument that evaluates to NULL (such as $@), make fails.
DEPENDENCIES
NFS Warning:
When comparing modi®cation times of ®les located on different NFS servers, make behaves unpredictably if the clocks on the servers are not synchronized.
FILES [Mm]akefile s.[Mm]akefile SCCS/s.[Mm]akefile
− 10 − | Section 1−517 |
m