[ale] Source file dependencies...
Christopher Fowler
cfowler at outpostsentinel.com
Mon Sep 8 16:06:58 EDT 2003
On Mon, Sep 08, 2003 at 04:02:09PM -0400, Brian J. Dowd wrote:
> Is there a utility I can run on a source file(s) (such as GNU's coreutils)
> to list all of the dependency files required for successful compilation,
> installation and execution?
> (other than just trial and error)
In my Makefile
#
# Rule to create .d (dependancy) files.
#
%.d: %.c
${CC} ${CFLAGS} -MM -MG $< | sed -e 's@^\(.*\)\.o:@\1.d \1.o:@' > $@
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list