#sonar.asm make file

target = 16c73a
#config word: pwr-up timer enabled, brownout enabled,  watchdog disabled, HS oscillator
config = 3ff2
sname = sonar

#
all: $(sname).hex
# Assemble the program from the asm source
$(sname).hex: $(sname).asm
	gpasm  $(sname).asm
#
# Clean up the directory
clean:
	rm -f $(sname).hex  core  $(sname).asm $(sname).lst
#
pgm:
	tm4 -c $(target) -z $(config) $(sname).hex




