all : sample0.xex sample1.xex sample2.xex sample3.xex sample4.xex sample5.xex sample6.xex fruit.xex mapclock.xex sailboat.xex sunset.xex train404.xex potato.xex # sample5.s from sample5.jpg # reminder: $< is input # $@ is output %.s : %.jpg dither-image.js gif.sh mp4.sh node dither-image.js $< $@ ./gif.sh $@ ./mp4.sh $@ chickens.s : chickens.wav pack-wav.js node pack-wav.js $< $@ %.o : %.s ca65 -v -t atari -o $@ $< %.xex : %.o dither4.o chickens.o atari-asm-xex.cfg ld65 -v -C ./atari-asm-xex.cfg -o $@ dither4.o chickens.o $< clean : rm -f dither4.o rm -f dither4.xex rm -f sample[0-6].s rm -f sample[0-6].o rm -f sample[0-6].xex rm -f sample[0-6].s.png rm -f sample[0-6].s.[0-9].png rm -f sample[0-6].s.palette.png rm -f sample[0-6].s.gif rm -f *.xex rm -f chickens.s rm -f chickens.o .dummy: sample0.s sample1.s sample2.s sample3.s sample4.s sample5.s sample6.s chickens.s