dos33fsprogs/vaporlock/waterfall/Makefile
Vince Weaver e0febd1a90 demos: more work
keep making git mistakes urgh
2021-01-05 22:52:10 -05:00

38 lines
836 B
Makefile

include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
PNG_TO_RLE = ../../utils/gr-utils/png2rle
all: waterfall.dsk
waterfall.dsk: WATERFALL
$(DOS33) -y waterfall.dsk BSAVE -a 0x1000 WATERFALL
####
WATERFALL: waterfall.o
ld65 -o WATERFALL waterfall.o -C ../../linker_scripts/apple2_1000.inc
waterfall.o: waterfall.s gr_copy.s gr_unrolled_copy.s vapor_lock.s \
gr_putsprite.s delay_a.s \
waterfall_page1.inc waterfall_page2.inc tfv_sprites.inc
ca65 -o waterfall.o waterfall.s -l waterfall.lst
####
waterfall_page1.inc: waterfall_page1.png
$(PNG_TO_RLE) asm ./waterfall_page1.png waterfall_page1 > waterfall_page1.inc
waterfall_page2.inc: waterfall_page2.png
$(PNG_TO_RLE) asm ./waterfall_page2.png waterfall_page2 > waterfall_page2.inc
#####
clean:
rm -f *~ *.o *.lst waterfall_page*.inc WATERFALL