gdb/gdbserver/ChangeLog:
* Makefile.in (%.o: ../target/%.c): New rule.
(waitstatus.o: ../target/waitstatus.c): Remove.
2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+ * Makefile.in (%.o: ../target/%.c): New rule.
+ (waitstatus.o: ../target/waitstatus.c): Remove.
+
+2017-03-13 Simon Marchi <simon.marchi@polymtl.ca>
+
* Makefile.in
(%.c: ../regformats/%.dat,
(%.c: ../regformats/arm/%.dat,
# All generated files which can be included by another file.
generated_files = config.h $(GNULIB_H)
-%.o: %.c
- $(COMPILE) $<
- $(POSTCOMPILE)
-
all: gdbserver$(EXEEXT) gdbreplay$(EXEEXT) $(extra_libraries)
@$(MAKE) $(FLAGS_TO_PASS) DO=$@ "DODIRS=$(SUBDIRS)" subdir_do
common-exceptions.o: ../common/common-exceptions.c
$(COMPILE) $<
$(POSTCOMPILE)
-waitstatus.o: ../target/waitstatus.c
- $(COMPILE) $<
- $(POSTCOMPILE)
fileio.o: ../common/fileio.c
$(COMPILE) $<
$(POSTCOMPILE)
$(COMPILE) $<
$(POSTCOMPILE)
+# Rules for objects that go in the gdbserver binary.
+
+%.o: %.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+
+%.o: ../target/%.c
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+
# Rules for register format descriptions.
%.c: ../regformats/%.dat | $(regdat_sh)