2024-08-24 03:54:17 +00:00
|
|
|
.FAKE : all test clean
|
|
|
|
|
2024-08-24 03:52:21 +00:00
|
|
|
all : rickroll.xex
|
|
|
|
|
|
|
|
# reminder: $< is input
|
|
|
|
# $@ is output
|
|
|
|
|
|
|
|
%.s : %.jpg dither-image.js
|
|
|
|
node dither-image.js $< $@
|
|
|
|
|
|
|
|
%.o : %.s
|
|
|
|
ca65 -v -t atari -o $@ $<
|
|
|
|
|
2024-08-24 03:54:17 +00:00
|
|
|
%.xex : %.o mono16.o atari-asm-xex.cfg
|
|
|
|
ld65 -v -C ./atari-asm-xex.cfg -o $@ mono16.o $<
|
|
|
|
|
|
|
|
test : all
|
|
|
|
atari800 rickroll.xex
|
2024-08-24 03:52:21 +00:00
|
|
|
|
|
|
|
clean :
|
|
|
|
rm -f *.xex
|
|
|
|
rm -f *.o
|
|
|
|
rm -f *.s.png
|
|
|
|
rm -f rickroll.s
|