help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of sources without dependencies?


From: Boris Kolpackov
Subject: Re: List of sources without dependencies?
Date: Wed, 5 Oct 2005 06:56:39 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

Torsten Mohr <address@hidden> writes:

> i use automatic dependency generation in a project.  I'd like to
> speed things up and add a target that updates all the dependency
> files "in one step" and for that hand a list of source files
> to an external program for which there are no dependency files.
>
> Is it possible to generate a list of source files for which there
> are no dependency files?

src := $(wildcard *.cxx)
dep := $(wildcard *.o.d)

delta := $(foreach i,$(src:.cxx=.o.d),$(if $(filter $i,$(dep)),,$i))

hth,
-boris





reply via email to

[Prev in Thread] Current Thread [Next in Thread]