| 1 |
# Makefile fragment for building GCC for the Renesas RL78 target. |
| 2 |
# Copyright (C) 2011-2025 Free Software Foundation, Inc. |
| 3 |
# Contributed by Red Hat. |
| 4 |
# |
| 5 |
# This file is part of GCC. |
| 6 |
# |
| 7 |
# GCC is free software; you can redistribute it and/or modify it |
| 8 |
# under the terms of the GNU General Public License as published |
| 9 |
# by the Free Software Foundation; either version 3, or (at your |
| 10 |
# option) any later version. |
| 11 |
# |
| 12 |
# GCC is distributed in the hope that it will be useful, but |
| 13 |
# WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See |
| 15 |
# the GNU General Public License for more details. |
| 16 |
# |
| 17 |
# You should have received a copy of the GNU General Public |
| 18 |
# License along with GCC; see the file COPYING3. If not see |
| 19 |
# <http://www.gnu.org/licenses/>. |
| 20 |
|
| 21 |
rl78-c.o: $(srcdir)/config/rl78/rl78-c.cc $(RTL_H) $(TREE_H) $(CONFIG_H) $(TM_H) |
| 22 |
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< |
| 23 |
|
| 24 |
# Enable multilibs: |
| 25 |
|
| 26 |
MULTILIB_OPTIONS = mg10/mg13/mg14 |
| 27 |
MULTILIB_DIRNAMES = g10 g13 g14 |
| 28 |
|
| 29 |
MULTILIB_MATCHES = mg10=mcpu?g10 mg13=mcpu?g13 mg14=mcpu?g14 mg14=mcpu?rl78 |