Forwading to the list

Steven Lembark wrote:

> > Yes compilation goes fine on redhat-7 with gcc. Check and make sure
> > that there are no "configure" errors first and are you doing a
> > "make depend" before issuing a make?
>
> would it make sense to modify the Makefile to something like:
>
> all:  depend build
>
> depend:
>         blah blah blah
>
> build:
>
>         blah blah blah
>
> so as to avoid this issue in the future?  if we know that all of
> the depend files are in ".depend" (or whatever) then we can also
> use:
>
> .PHONEY all depend
>
> all: $(DEPEND_FILES)
>         build commands
>
> $(DEPEND_FILES) : Makefile
>         make -C $(dirname $@) depend
>
> i.e., the depends must be newer than the Makefile (or some
> other artifact of ./configure) or we make depend, make all
> depends on the depends.
>
> 'course this all depends on having GNU make.
>
> --
>  Steven Lembark                                   2930 W. Palmer St.
>                                                  Chicago, IL  60647
>  [EMAIL PROTECTED]                                   800-762-1582

Reply via email to