Differences between version 67 and predecessor to the previous major change of MakefileHowto.
Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 67 | Last edited on Friday, May 8, 2009 11:46:24 am | by StairWay | Revert |
Older page: | version 64 | Last edited on Friday, July 7, 2006 11:48:48 am | by AristotlePagaltzis | Revert |
@@ -267,9 +267,9 @@
----
!!Automatic dependency calculation
-If
you are creating a Makefile for C/C++ gcc can calculate dependency information for you. The quickest way to get this going is to add the -MD flag to your CFLAGS first. You will then need to know the names of the .d files in your makefile. I do something like this:
+Based on manuals and [research papers | http://www.besttermpaper.com], if
you are creating a Makefile for C/C++ gcc can calculate dependency information for you. The quickest way to get this going is to add the -MD flag to your CFLAGS first. You will then need to know the names of the .d files in your makefile. I do something like this:
<verbatim>
DEPS := $(patsubst %.o,%.d,$(OBJS))
</verbatim>
@@ -326,8 +326,9 @@
----
See Also:
* MakefileVariables
+* http://www.gnu.org/software/make/manual/ - GNU make manual, warning this is huge.
----
!! Requests