This commit is contained in:
Brooke Vibber 2022-11-25 17:54:58 -08:00
commit da00cf317f
2 changed files with 29 additions and 27 deletions

View file

@ -1,22 +1,27 @@
.PHONY : all clean
all : dither4.xex
all : sample0.xex sample1.xex sample2.xex sample3.xex sample4.xex sample5.xex sample6.xex
# sample5.s from sample5.jpg
# reminder: $< is input
# $@ is output
%.o : %.s
ca65 -v -t atari -o $@ $<
%.s : %.jpg
node dither-image.js $< $@ $@.png
%.o : %.s
ca65 -v -t atari -o $@ $<
%.xex : %.o dither4.o
ld65 -v -C atari-asm-xex.cfg -o $@ $<
dither4.xex : dither4.o sample6.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
#clean :
# rm -f dither4.o
# rm -f dither4.xex
# rm -f sample[0-6].o
# rm -f sample[0-6].s
# rm -f sample[0-6].xex
# rm -f sample[0-6].png