dos33fsprogs/fireworks/Makefile

36 lines
848 B
Makefile
Raw Normal View History

2018-09-02 03:41:10 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
B2D = ../bmp2dhr/b2d
2018-09-05 01:43:07 +00:00
PNG_TO_40x48D = ../gr-utils/png_to_40x48d
2018-09-02 03:41:10 +00:00
all: fireworks.dsk
2018-09-05 01:43:07 +00:00
fireworks.dsk: FIREWORKS.BAS FIREWORKS
$(DOS33) -y fireworks.dsk BSAVE -a 0x1000 FIREWORKS
2018-09-02 03:41:10 +00:00
$(DOS33) -y fireworks.dsk SAVE A FIREWORKS.BAS
2018-09-05 01:43:07 +00:00
####
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 \
2018-09-12 17:30:20 +00:00
vapor_lock.s gr_hline.s state_machine.s move_letters.s \
2018-09-05 01:43:07 +00:00
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
2018-09-02 03:41:10 +00:00
####
FIREWORKS.BAS: fireworks.bas
../asoft_basic-utils/tokenize_asoft < fireworks.bas > FIREWORKS.BAS
clean:
rm -f *~ *.o *.lst *.inc FIREWORKS.BAS