![]() |
|
Модераторы: Daevaorn |
![]()
|
|
| Chameleon |
|
|||
![]() Новичок Профиль Группа: Участник Сообщений: 18 Регистрация: 27.11.2005 Где: moscow Репутация: нет Всего: нет |
народ и прочие, не подскажете что за зверь этот make file?
с чем его едять и где модно найти нормальное описание. |
|||
|
||||
| pablo |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Сообщений: 320 Регистрация: 12.2.2005 Где: Вильнюс, Литва Репутация: 4 Всего: 6 |
How to write a Makefile
Introduction Make is one of the original Unix tools for Software Engineering. By S.I. Feldman of AT&T Bell Labs circa 1975. But there are public domain versions (eg. GNU) and versions for other systems (eg. Vax/VMS). Related tools are the language compilers (cc, f77, lex, yacc, etc.) and shell programming tools (eg. awk, sed, cp, rm, etc.). You need to know how to use these. Important adjuncts are lint (source code checking for obvious errors) ctags (locate functions, etc. in source code) and mkdepend. These are nice, and good programmers use them. Important, and related tools, are the software revision systems SCCS (Source Code Control System) and RCS (Revision Control System -- the recommended choice) The idea is to automate and optimize the construction of programs/files -- ie. to leave enough foot prints so that others can follow. Makefile Naming make is going to look for a file called Makefile, if not found then a file called makefile. Use the first (so the name stands out in listings). You can get away without any Makefile (but shouldn't)! Make has default rules it knows about. Добавлено @ 12:30 вот тута: http://vertigo.hsrl.rutgers.edu/ug/make_help.html -------------------- Первый блин всегда похож на сферу, иногда бывает и куб. |
|||
|
||||
| _hunter |
|
|||
![]() Эксперт ![]() ![]() ![]() ![]() Профиль Группа: Участник Клуба Сообщений: 8564 Регистрация: 24.6.2003 Где: Europe::Ukraine:: Kiev Репутация: 16 Всего: 98 |
http://msdn2.microsoft.com/en-us/library/txcwa2xx.aspx
http://msdn2.microsoft.com/en-us/library/8y48z24a.aspx http://msdn2.microsoft.com/en-us/library/x6bt6xe7.aspx и там по ссылка походи... -------------------- Tempora mutantur, et nos mutamur in illis... |
|||
|
||||
| pablo |
|
|||
![]() Опытный ![]() ![]() Профиль Группа: Участник Сообщений: 320 Регистрация: 12.2.2005 Где: Вильнюс, Литва Репутация: 4 Всего: 6 |
Make reads its instructions from text files. An initialization file is read first, followed by the makefile. The initialization file holds instructions for all “makes” and is used to customize the operation of Make. Make automatically reads the initialization file whenever it starts up. Typically the initialization file is named make.ini and it resides in the directory of make.exe and mkmf.exe. The name and location of the initialization file is discussed in detail on Page .
The makefile has instructions for a specific project. The default name of the makefile is literally makefile, but the name can be specified with a command-line option. Добавлено @ 12:32 вот тута: http://www.opussoftware.com/tutorial/TutMakefile.htm -------------------- Первый блин всегда похож на сферу, иногда бывает и куб. |
|||
|
||||
![]()
|
| Правила форума "С++:Общие вопросы" | |
|
|
Добро пожаловать!
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, Earnest Daevaorn |
| 0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) | |
| 0 Пользователей: | |
| « Предыдущая тема | C/C++: Общие вопросы | Следующая тема » |
|
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |