2022-12-11 19:58:37 +00:00
|
|
|
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
|
2022-11-20 23:43:34 +00:00
|
|
|
|
|
|
|
# sample5.s from sample5.jpg
|
|
|
|
|
|
|
|
# reminder: $< is input
|
|
|
|
# $@ is output
|
|
|
|
|
2022-12-11 19:58:37 +00:00
|
|
|
%.s : %.jpg dither-image.js gif.sh mp4.sh
|
2022-12-04 22:21:46 +00:00
|
|
|
node dither-image.js $< $@
|
2022-12-04 23:18:51 +00:00
|
|
|
./gif.sh $@
|
2022-12-05 01:49:52 +00:00
|
|
|
./mp4.sh $@
|
2022-11-26 01:35:10 +00:00
|
|
|
|
2022-11-30 07:59:38 +00:00
|
|
|
chickens.s : chickens.wav pack-wav.js
|
|
|
|
node pack-wav.js $< $@
|
|
|
|
|
2022-11-26 01:54:58 +00:00
|
|
|
%.o : %.s
|
|
|
|
ca65 -v -t atari -o $@ $<
|
|
|
|
|
2022-12-11 19:58:37 +00:00
|
|
|
%.xex : %.o dither4.o chickens.o atari-asm-xex.cfg
|
2022-12-08 01:11:22 +00:00
|
|
|
ld65 -v -C ./atari-asm-xex.cfg -o $@ dither4.o chickens.o $<
|
2022-11-26 02:01:14 +00:00
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f dither4.o
|
|
|
|
rm -f dither4.xex
|
|
|
|
rm -f sample[0-6].s
|
2022-11-30 07:59:38 +00:00
|
|
|
rm -f sample[0-6].o
|
2022-11-26 02:01:14 +00:00
|
|
|
rm -f sample[0-6].xex
|
2022-11-30 07:59:38 +00:00
|
|
|
rm -f sample[0-6].s.png
|
2022-12-04 23:18:51 +00:00
|
|
|
rm -f sample[0-6].s.[0-9].png
|
|
|
|
rm -f sample[0-6].s.palette.png
|
|
|
|
rm -f sample[0-6].s.gif
|
2022-12-08 00:12:15 +00:00
|
|
|
rm -f *.xex
|
2022-11-30 07:59:38 +00:00
|
|
|
rm -f chickens.s
|
|
|
|
rm -f chickens.o
|
2022-11-26 02:25:36 +00:00
|
|
|
|
2022-12-08 00:12:15 +00:00
|
|
|
.dummy: sample0.s sample1.s sample2.s sample3.s sample4.s sample5.s sample6.s chickens.s
|