.PHONY : all clean

all : dither4.xex

# sample5.s from sample5.jpg

# reminder: $< is input
#           $@ is output
%.o : %.s
	ca65 -v -t atari -o $@ $<

dither4.xex : dither4.o
	ld65 -v -C atari-asm-xex.cfg -o $@ $< 

clean :
	rm -f sample5.s
	rm -f sample5.o
	rm -f dither4.o
	rm -f dither4.xex