-# Copyright (C) 2020-2021 Free Software Foundation, Inc.
+# Copyright (C) 2020-2024 Free Software Foundation, Inc.
#
# This file is part of GCC.
#
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
-dragonfly-d.o: $(srcdir)/config/dragonfly-d.c
+dragonfly-d.o: $(srcdir)/config/dragonfly-d.cc
+ $(COMPILE) $<
+ $(POSTCOMPILE)
+
+dragonfly-rust.o: $(srcdir)/config/dragonfly-rust.cc
$(COMPILE) $<
$(POSTCOMPILE)