2022-11-20 23:43:34 +00:00
|
|
|
.PHONY : all clean
|
|
|
|
|
|
|
|
all : dither4.xex
|
|
|
|
|
|
|
|
# sample5.s from sample5.jpg
|
|
|
|
|
|
|
|
# reminder: $< is input
|
|
|
|
# $@ is output
|
|
|
|
%.o : %.s
|
|
|
|
ca65 -v -t atari -o $@ $<
|
|
|
|
|
2022-11-26 01:35:10 +00:00
|
|
|
%.s : %.jpg
|
|
|
|
node dither-image.js $< $@ $@.png
|
|
|
|
|
|
|
|
dither4.xex : dither4.o sample6.o
|
2022-11-20 23:43:34 +00:00
|
|
|
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
|