[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to build src/server and src/client separately?
From: |
Ralf Wildenhues |
Subject: |
Re: How to build src/server and src/client separately? |
Date: |
Fri, 16 Jun 2006 06:37:30 +0200 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
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