dither4/Makefile

22 lines
357 B
Makefile

.PHONY : all clean
all : dither4.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
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