From 3dc7c2c84675483ca0a018ae8f66ebad5639a0bc Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Wed, 18 Nov 2015 12:54:10 +0200 Subject: [PATCH] Makefile: use automake rule for compiling .S MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. http://www.gnu.org/software/automake/manual/html_node/Assembly-Support.html Signed-off-by: Pekka Paalanen Tested-by: Víctor Jáquez Reviewed-by: Peter Hutterer --- Makefile.am | 3 --- 1 file changed, 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7d31a392..e850abce 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