root / Makefile.common.spu @ 6421d470
History | View | Annotate | Download (1.3 kB)
| 1 | 28361a1b | eb | # -*- Makefile -*- |
|---|---|---|---|
| 2 | 28361a1b | eb | # |
| 3 | 28361a1b | eb | # Copyright 2007,2008 Free Software Foundation, Inc. |
| 4 | 28361a1b | eb | # |
| 5 | 28361a1b | eb | # This file is part of GNU Radio |
| 6 | 28361a1b | eb | # |
| 7 | 28361a1b | eb | # GNU Radio is free software; you can redistribute it and/or modify |
| 8 | 28361a1b | eb | # it under the terms of the GNU General Public License as published by |
| 9 | 28361a1b | eb | # the Free Software Foundation; either version 3, or (at your option) |
| 10 | 28361a1b | eb | # any later version. |
| 11 | 28361a1b | eb | # |
| 12 | 28361a1b | eb | # GNU Radio is distributed in the hope that it will be useful, |
| 13 | 28361a1b | eb | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | 28361a1b | eb | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | 28361a1b | eb | # GNU General Public License for more details. |
| 16 | 28361a1b | eb | # |
| 17 | 28361a1b | eb | # You should have received a copy of the GNU General Public License along |
| 18 | 28361a1b | eb | # with this program; if not, write to the Free Software Foundation, Inc., |
| 19 | 28361a1b | eb | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
| 20 | 28361a1b | eb | # |
| 21 | 28361a1b | eb | |
| 22 | 28361a1b | eb | include $(top_srcdir)/Makefile.common |
| 23 | 28361a1b | eb | |
| 24 | 28361a1b | eb | # We're abusing automake, getting it to generate code for two |
| 25 | 28361a1b | eb | # architectures under the same tree. If you've got a better way to do |
| 26 | 28361a1b | eb | # this, please let us know |
| 27 | 28361a1b | eb | |
| 28 | 28361a1b | eb | AR=spu-ar |
| 29 | 28361a1b | eb | RANLIB=spu-ranlib |
| 30 | d5e5244a | eb | CC=spu-gcc |
| 31 | d5e5244a | eb | CCAS = spu-gcc |
| 32 | 28361a1b | eb | LD=spu-ld |
| 33 | 28361a1b | eb | |
| 34 | 28361a1b | eb | C_WARNINGS = \ |
| 35 | 28361a1b | eb | -Wall -Wextra -Wstrict-prototypes -Werror-implicit-function-declaration |
| 36 | 28361a1b | eb | |
| 37 | 28361a1b | eb | # Need to override user stuff even though it gives a warning. |
| 38 | 28361a1b | eb | # (Otherwise these contain PPE related info.) |
| 39 | 28361a1b | eb | |
| 40 | 28361a1b | eb | CPPFLAGS= |
| 41 | 28361a1b | eb | LDFLAGS= |
| 42 | 28361a1b | eb | CFLAGS= |
| 43 | 28361a1b | eb | |
| 44 | 28361a1b | eb | AM_CFLAGS = -O3 -g --std=gnu99 -fstrict-aliasing $(C_WARNINGS) |
| 45 | 28361a1b | eb |