[PATCH wayland 1/2] Makefile: use automake rule for compiling .S
Peter Hutterer
peter.hutterer at who-t.net
Wed Nov 18 14:06:47 PST 2015
On Wed, Nov 18, 2015 at 01:07:36PM +0200, 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.
>
> Signed-off-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
and I found this reference for it:
http://www.gnu.org/software/automake/manual/html_node/Assembly-Support.html
Cheers,
Peter
> ---
> 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
> --
> 2.4.10
>
More information about the wayland-devel
mailing list