ENOSIG Discussie (threads)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: .if defined in GNU and BSD make


On Wed, Jan 14, 2004 at 10:57:47AM +0100, Ronald van Engelen wrote:
> all:
>         @echo "make all" in `pwd`
> .if defined(SUBDIR) && !empty(SUBDIR)
>         @for subdir in ${SUBDIR}; do \
>                         (cd $$subdir; ${MAKE} all); \
>         done
>  
> .endif

For GNU make, the syntax is different. You'll want to read the "syntax
of conditionals" node of the make info documentation.


Gerelateerd:


[ Date Index] [ Thread Index]