if HAVEAS51

$(top_srcdir)/firmware/dlfirmware/main.rel:		$(top_srcdir)/firmware/dlfirmware/main.asm
							$(AS8051) -plosgff $(top_srcdir)/firmware/dlfirmware/main.asm

endif

if HAVELD51

noinst_DATA = $(top_srcdir)/firmware/dlfirmware/main.ihx

$(top_srcdir)/firmware/dlfirmware/main.ihx:		$(top_srcdir)/firmware/dlfirmware/main.rel
							cd $(top_srcdir)/firmware/dlfirmware; $(LD8051) -f main.lnk

endif


EXTRA_DIST = \
	main.ihx main.rel main.lst main.rst main.map main.asm main.lnk
