19 lines
318 B
Makefile
19 lines
318 B
Makefile
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 mono8.o atari-asm-xex.cfg
|
|
ld65 -v -C ./atari-asm-xex.cfg -o $@ mono8.o $<
|
|
|
|
clean :
|
|
rm -f *.xex
|
|
rm -f *.o
|
|
rm -f *.s.png
|
|
rm -f rickroll.s
|