Torsten Mohr <[EMAIL PROTECTED]> 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



_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to