Query: make
OS: minix
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MAKE(1) General Commands Manual MAKE(1)NAMEmake - a program for maintaining large programsSYNOPSISmake [-f file] [-iknpqrst] [option] ... [target]OPTIONS-f Use file as the makefile -i Ignore status returned by commands -k On error, skip to next command -n Report, but do not execute -p Print macros and targets -q Question up-to-dateness of target -r Rule inhibit; do not use default rules -s Silent mode -t Touch files instead of making themEXAMPLESmake kernel # Make kernel up to date make -n -f mfile # Tell what needs to be doneDESCRIPTIONMake is a program that is normally used for developing large programs consisting of multiple files. It keeps track of which object files depend on which source and header files. When called, it does the minimum amount of recompilation to bring the target file up to date. The file dependencies are expected in makefile or Makefile , unless another file is specified with -f. Make has some default rules built in, for example, it knows how to make .s files from .c files. Here is a sample makefile . d=/user/ast # d is a macro program: head.s tail.s# program depends on these cc -o program head.s tail.s# tells how to make program echo Program done. # announce completion head.s: $d/def.h head.c # head.s depends on these tail.s: $d/var.h tail.c # tail.s depends on these A complete description of make would require too much space here. Many books on UNIX discuss make . Study the numerous Makefiles in the MINIX source tree for examples.SEE ALSOcc(1). MAKE(1)
Related Man Pages |
---|
make(1) - debian |
make(1) - linux |
ccmakedep(1) - debian |
make(1) - minix |
make(1) - osx |
Similar Topics in the Unix Linux Community |
---|
help with !(tail -2) command.. using pipes |
Compiling UNIX software packages Question |
Help Needed with Grep |
UNIX Study Material |
First time programmer needs Help with Makefiles |