Hello Andreas, Marc,

* Marc Alff wrote on Fri, Jun 16, 2006 at 02:30:58AM CEST:
> 
> client :
>   $(MAKE) -C src/client all
> 
> server :
>   $(MAKE) -C src/server all

It's useful to add AM_MAKEFLAGS, dropping -C helps for non-GNU make,
and making the targets phony helps with rebuilding even if there is
a file named 'client' in the current directory:

client:
        cd src/client && $(MAKE) $(AM_MAKEFLAGS)

server:
        cd src/server && $(MAKE) $(AM_MAKEFLAGS)

.PHONY: client server

Cheers,
Ralf


Reply via email to