gmake -n > makefile.sh
. ./makefile.sh
Stephane
Scott Johnston a écrit :
> Is there something like a --verbose option to GNU make? Like -n, only
> the commands get executed as well.
>
> Scott Johnston
Try make -d
Rob Windgassen
> Try for example:
>
> gmake -n > makefile.sh
> . ./makefile.sh
>
> Stephane
>
> Scott Johnston a écrit :
>
> > Is there something like a --verbose option to GNU make? Like -n, only
> > the commands get executed as well.
> >
> > Scott Johnston
That's useful, but I need to do this for nested makefiles (recursive make
within a source tree).
Scott