annotate vpath.sed @ 106009:e6af95c4c862
Use gcc-generated dependency files if we can (GNU Make and gcc required).
* Makefile.in: If AUTO_DEPEND is defined, make gcc generate
dependency files in deps/. Include those files into Makefile.
* config.in: Generated (AUTO_DEPEND).
* configure.in: --enable-autodepend is new. Check for GNU Make
and that gcc supports -MMD -MF. Define AUTO_DEPEND if we can use
gcc and GNU make to generate dependencies.
author |
Jan Djärv <jan.h.d@swipnet.se> |
date |
Sat, 14 Nov 2009 15:17:38 +0000 |
parents |
695cf19ef79e |
children |
375f2633d815 |
rev |
line source |
4703
|
1 /^VPATH *=/c\
|
|
2 # This works only in GNU make. Using the patterns avoids\
|
|
3 # object files being found by VPATH, and thus permits building\
|
|
4 # when $srcdir is configured itself.\
|
|
5 vpath %.c $(srcdir)\
|
|
6 vpath %.h $(srcdir)\
|
|
7 \
|
52401
|
8
|
|
9 # arch-tag: 56a64b50-e4e8-443a-960f-f13af0f1a545
|