#Make file for AVR assembler

ASM = tavrasm
FLAGS = -v
INCLUDE = ../include/

.SUFFIXES: .asm .hex .def

.asm.hex:
	$(ASM) $(FLAGS) $< -e $*.lst

#--- TARGETS GO HERE --------------------------------------------------------

beacon-1.0.hex: beacon-1.0.asm tone_lib-0.1.asm $(INCLUDE)1200.def

thermo-1.0.hex: thermo-1.0.asm tone_lib-0.1.asm ds1620_lib-0.1.asm $(INCLUDE)1200.def

#--- TARGETS END ------------------------------------------------------------

# default behaviors
clean:
	rm -f *.hex *.lst
