I want to include the dependency files a.P, b.P, c.P  in the makefile,
from the a.c, b.c, c.c., this way


CSRCS = ~/srcdir/a.c ~/srcdir/b.c ~/srcdir/c.c

DEPDIR = ~/.deps

include $(patsubstr %.c, $(DEPDIR)/%.P, $(notdir $(CSRCS)))

Is there a shorter/better way to write the include statement?

Thanks

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

Reply via email to