libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / config / pru / t-pru
blob1e67fdf11c1fb63ce7c5d960305f4782da1b5d38
1 # Makefile fragment for building GCC for the TI PRU target.
2 # Copyright (C) 2012-2024 Free Software Foundation, Inc.
3 # Contributed by Dimitar Dimitrov <dimitar.dinux.eu>
4 # Based on the t-nios2
6 # This file is part of GCC.
8 # GCC is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published
10 # by the Free Software Foundation; either version 3, or (at your
11 # option) any later version.
13 # GCC is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See
16 # the GNU General Public License for more details.
18 # You should have received a copy of the  GNU General Public
19 # License along with GCC; see the file COPYING3.  If not see
20 # <http://www.gnu.org/licenses/>.
22 PASSES_EXTRA += $(srcdir)/config/pru/pru-passes.def
24 # Unfortunately mabi=ti is not feature-complete enough to build newlib.
25 # Hence we cannot present mabi=gnu/ti as a multilib option.
27 pru-pragma.o: $(srcdir)/config/pru/pru-pragma.cc $(RTL_H) $(TREE_H) \
28                 $(CONFIG_H) $(TM_H) $(srcdir)/config/pru/pru-protos.h
29         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
31 pru-passes.o: $(srcdir)/config/pru/pru-passes.cc $(RTL_H) $(TREE_H) \
32                 $(CONFIG_H) $(TM_H) $(srcdir)/config/pru/pru-protos.h
33         $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<