[PATCH wayland 1/2] Makefile: use automake rule for compiling .S

Víctor M. Jáquez L. vjaquez at igalia.com
Wed Nov 18 04:22:57 PST 2015


On 11/18/15 at 01:07pm, Pekka Paalanen wrote:
> From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> 
> Automake seems to have its own rules for compiling an .o from an .S.
> Essentially it does the same as our hand-crafted rule, but adds some
> things like dependency file generation.
> 
> Remove our hand-crafted rule to use the automake rule, it is less
> surprising.
>

Tested-by: Víctor Jáquez <vjaquez at igalia.com>

> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
>  Makefile.am | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/Makefile.am b/Makefile.am
> index 7d31a39..e850abc 100644
> --- a/Makefile.am
> +++ b/Makefile.am
> @@ -30,9 +30,6 @@ pkgconfig_DATA += src/wayland-scanner.pc
>  
>  src/dtddata.o: protocol/wayland.dtd
>  
> -%.o: %.S
> -	$(AM_V_GEN)$(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c -o $@ $<
> -
>  if USE_HOST_SCANNER
>  wayland_scanner = wayland-scanner
>  else


More information about the wayland-devel mailing list