24 lines
379 B
Makefile
24 lines
379 B
Makefile
.FAKE : all test clean
|
|
|
|
all : rickroll.xex
|
|
|
|
# reminder: $< is input
|
|
# $@ is output
|
|
|
|
%.s : %.jpg dither-image.js
|
|
node dither-image.js $< $@
|
|
|
|
%.o : %.s
|
|
ca65 -v -t atari -o $@ $<
|
|
|
|
%.xex : %.o mono16.o atari-asm-xex.cfg
|
|
ld65 -v -C ./atari-asm-xex.cfg -o $@ mono16.o $<
|
|
|
|
test : all
|
|
atari800 rickroll.xex
|
|
|
|
clean :
|
|
rm -f *.xex
|
|
rm -f *.o
|
|
rm -f *.s.png
|
|
rm -f rickroll.s
|