Updated FSF address in all files. Fixes ticket:51
[debian/gnuradio] / ezdop / src / firmware / Makefile.am
1 # Copyright 2001,2002,2003,2004,2005,2006 Free Software Foundation, Inc.
2
3 # This file is part of GNU Radio
4
5 # GNU Radio is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 2, or (at your option)
8 # any later version.
9
10 # GNU Radio is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14
15 # You should have received a copy of the GNU General Public License
16 # along with GNU Radio; see the file COPYING.  If not, write to
17 # the Free Software Foundation, Inc., 51 Franklin Street,
18 # Boston, MA 02110-1301, USA.
19
20 include $(top_srcdir)/Makefile.common
21
22 datadir = $(prefix)/share/ezdop
23
24 # Use avr-gcc versions of compiler and binutils
25 CC=$(AVRGCC)
26 OBJCOPY=$(AVROBJCOPY)
27
28 noinst_PROGRAMS = dopctrl.elf dopctrl.hex  
29
30 dopctrl_elf_CFLAGS= \
31         -mmcu=atmega8 \
32         -funsigned-char \
33         -funsigned-bitfields \
34         -fpack-struct \
35         -fshort-enums \
36         -Wall \
37         -Wstrict-prototypes \
38         -Wa,-adhlns=$@.lst
39
40 dopctrl_elf_SOURCES = dopctrl.c
41
42 include_HEADERS = dopctrl.h
43
44 dopctrl.hex : dopctrl.elf
45         $(OBJCOPY) -O ihex -R .eeprom dopctrl.elf dopctrl.hex
46
47 firmwaredir = $(prefix)/share/ezdop
48 firmware_DATA = dopctrl.hex
49
50 MOSTLYCLEANFILES = *.lst *~