dither4/Makefile

24 lines
515 B
Makefile
Raw Normal View History

2023-03-19 02:32:07 +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 selfie.xex kitty.xex meme.xex
# sample5.s from sample5.jpg
# reminder: $< is input
# $@ is output
2023-03-19 02:19:11 +00:00
%.s : %.jpg dither-image.js
2022-12-04 22:21:46 +00:00
node dither-image.js $< $@
2022-11-26 01:35:10 +00:00
2022-11-26 01:54:58 +00:00
%.o : %.s
ca65 -v -t atari -o $@ $<
2023-03-19 02:19:11 +00:00
%.xex : %.o dither4.o atari-asm-xex.cfg
ld65 -v -C ./atari-asm-xex.cfg -o $@ dither4.o $<
2022-11-26 02:01:14 +00:00
clean :
2023-03-19 22:47:22 +00:00
rm -f *.o
rm -f *.s.png
2022-12-08 00:12:15 +00:00
rm -f *.xex