[PATCH wayland 1/2] Makefile: use automake rule for compiling .S
Pekka Paalanen
ppaalanen at gmail.com
Wed Nov 18 03:07:36 PST 2015
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>
---
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