Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.sao.ru/hq/sts/linux/book/c_marshall/section2_17_7.html
Дата изменения: Unknown
Дата индексирования: Sat Sep 11 19:54:04 2010
Кодировка:

Поисковые слова: astronaut
Running Make



Next: UNIX and C Up: Writing Larger Programs Previous: Make macros

Running Make

Simply type make from command line.

UNIX automatically looks for a file called Makefile (note: capital M rest lower case letters).

So if we have a file called Makefile and we type make from command line. The Makefile in our current directory will get executed.

We can override this search for a file by typing make -f make_filename

e.g. ~ make -f my_make

There are a few more -options for makefiles - see manual pages.


Dave.Marshall@cm.cf.ac.uk
Wed Sep 14 10:06:31 BST 1994