file=hello

aflags=-f -l -s
lflags=-m -b _CODE=0xc000 -b _DATA=0xd000

$(file).s19: $(file).asm
	as6811 $(aflags) $(file).asm -o $(file).o
	aslink $(lflags) $(file).o -o $(file)

clean:
	del *.o 
	del *.lst 
	del *.map 
	del *.s19 
	del *.sym	
