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

38 lines
924 B
Makefile

include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
B2D = ../../utils/bmp2dhr/b2d
PNG_TO_40x48D = ../../utils/gr-utils/png_to_40x48d
TOKENIZE = ../../utils/asoft_basic-utils/tokenize_asoft
all: fireworks.dsk
fireworks.dsk: FIREWORKS.BAS FIREWORKS
$(DOS33) -y fireworks.dsk BSAVE -a 0x1000 FIREWORKS
$(DOS33) -y fireworks.dsk SAVE A FIREWORKS.BAS
####
FIREWORKS: fireworks.o
ld65 -o FIREWORKS fireworks.o -C ../../linker_scripts/apple2_1000.inc
fireworks.o: fireworks.s gr_copy.s random16.s fw.s hgr.s delay_a.s \
vapor_lock.s gr_hline.s state_machine.s move_letters.s \
background_final.inc
ca65 -o fireworks.o fireworks.s -l fireworks.lst
background_final.inc: background_final.png
$(PNG_TO_40x48D) asm background_final.png bg_final > background_final.inc
####
FIREWORKS.BAS: fireworks.bas
$(TOKENIZE) < fireworks.bas > FIREWORKS.BAS
clean:
rm -f *~ *.o *.lst *.inc FIREWORKS.BAS