[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic dependency generation - make won't create intermediate dir
From: |
Boris Kolpackov |
Subject: |
Re: Automatic dependency generation - make won't create intermediate dirs for me |
Date: |
Sat, 3 Dec 2005 22:09:13 +0000 (UTC) |
User-agent: |
nn/6.6.5+RFC1522 |
Dave Hylands <address@hidden> writes:
> Add an explicit dependency here
>
> > $(DEPDIR)%.d: %.cpp $(DEPDIR)
If you do this, make will update all .d file when $(DEPDIR)'s timestamp
is changed (which happens, for example, when you create new files in a
directory). You would probably want to make $(DEPDIR) an order-only
prerequisite:
$(DEPDIR)%.d: %.cpp | $(DEPDIR)
hth,
-boris