[PATCH btbridge v4 2/8] Use builtin make rules

Patrick Williams patrick at stwcx.xyz
Sat Oct 31 06:29:56 AEDT 2015


On Fri, Oct 30, 2015 at 07:42:08AM -0500, OpenBMC Patches wrote:
> From: Cyril Bur <cyril.bur at au1.ibm.com>
> 
> ---
>  Makefile | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/Makefile b/Makefile
> index 7f62be2..54d9964 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -1,4 +1,4 @@
> -all: btbridged
> +CPPFLAGS=$(shell pkg-config --cflags libsystemd)
> +LDFLAGS=$(shell pkg-config --libs libsystemd)
>  
> -btbridged: btbridged.c
> -	$(CC) $(CFLAGS) `pkg-config --cflags --libs libsystemd` $^ -o $@
> +all: btbridged
> -- 
> 2.6.0
> 
> 
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc

Would prefer to see a 'make install' when you get a chance and a 'make
clean'.

Also recommend:
.DEFAULT_GOAL: all
.PHONY: all
-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20151030/3c916005/attachment.sig>


More information about the openbmc mailing list