gdbserver: Use pattern rule for objects from arch/
[deliverable/binutils-gdb.git] / gdb / gdbserver / Makefile.in
index bcf12d017ec2728e441d8667df72d923f244a569..3baa96f4a95b4ce02cd8d3e2fd04352131015cbc 100644 (file)
@@ -735,27 +735,13 @@ ax.o: ax.c
        $(COMPILE) $(WARN_CFLAGS_NO_FORMAT) $<
        $(POSTCOMPILE)
 
-# Arch object files rules form ../arch
-
-arm.o: ../arch/arm.c
-       $(COMPILE) $<
-       $(POSTCOMPILE)
-arm-linux.o: ../arch/arm-linux.c
-       $(COMPILE) $<
-       $(POSTCOMPILE)
-arm-get-next-pcs.o: ../arch/arm-get-next-pcs.c
-       $(COMPILE) $<
-       $(POSTCOMPILE)
-
-# Architecture specific object files rules from ../arch
+# Rules for objects that go in the gdbserver binary.
 
-aarch64-insn.o: ../arch/aarch64-insn.c
+%.o: %.c
        $(COMPILE) $<
        $(POSTCOMPILE)
 
-# Rules for objects that go in the gdbserver binary.
-
-%.o: %.c
+%.o: ../arch/%.c
        $(COMPILE) $<
        $(POSTCOMPILE)
 
This page took 0.02449 seconds and 4 git commands to generate.