On Wed, Nov 11, 2009 at 3:25 PM, John Fisher <[email protected]> wrote: ... > My style uses a pattern rule like this > > %.d %.o: %.c > > and the -MMD switch to the GNU C compiler to create dependencies and object > files at the same time.
The latter (-MMD) is a good choice, yes. The former (using a multiple target pattern rule that has %.d as a target) is pointless or even harmful in my experience. What are your reasons for doing that? Philip Guenther _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
