if HAVEAS51

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

endif

if HAVELD51

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

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

endif


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