dither4/Makefile

25 lines
555 B
Makefile
Raw Normal View History

2022-11-26 01:54:58 +00:00
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
2022-11-26 02:01:14 +00:00
%.s : %.jpg dither-image.js
2022-11-26 01:35:10 +00:00
node dither-image.js $< $@ $@.png
2022-11-26 01:54:58 +00:00
%.o : %.s
ca65 -v -t atari -o $@ $<
%.xex : %.o dither4.o
2022-11-26 02:01:14 +00:00
ld65 -v -C atari-asm-xex.cfg -o $@ $< dither4.o
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
2022-11-26 02:25:36 +00:00
.dummy: sample0.s sample1.s sample2.s sample3.s sample4.s sample5.s sample6.s