summaryrefslogtreecommitdiff
path: root/ezdop/src
diff options
context:
space:
mode:
Diffstat (limited to 'ezdop/src')
-rw-r--r--ezdop/src/firmware/Makefile.am13
1 files changed, 4 insertions, 9 deletions
diff --git a/ezdop/src/firmware/Makefile.am b/ezdop/src/firmware/Makefile.am
index e619deb9f..eaded7c4a 100644
--- a/ezdop/src/firmware/Makefile.am
+++ b/ezdop/src/firmware/Makefile.am
@@ -29,21 +29,16 @@ OBJCOPY=$(AVROBJCOPY)
override CFLAGS=
noinst_PROGRAMS = dopctrl.elf dopctrl.hex
-
-EXTRA_DIST = \
- dopctrl.hex
dopctrl_elf_CFLAGS=-mmcu=atmega8 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=$(<:.c=.lst)
dopctrl_elf_SOURCES = dopctrl.c
-
+
include_HEADERS = dopctrl.h
dopctrl.hex : dopctrl.elf
$(OBJCOPY) -O ihex -R .eeprom dopctrl.elf dopctrl.hex
-
-install-data-local:
- $(INSTALL_DATA) -D $(top_builddir)/ezdop/src/firmware/dopctrl.hex $(DESTDIR)$(datadir)/dopctrl.hex
-uninstall-local:
- $(RM) $(DESTDIR)$(datadir)/dopctrl.hex
+firmwaredir = $(prefix)/share/ezdop
+firmware_DATA = dopctrl.hex
+