dos33fsprogs/graphics/hgr/wipes/Makefile
2024-12-19 01:34:20 -05:00

100 lines
2.3 KiB
Makefile

include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKER_SCRIPTS = ../../../linker_scripts
EMPTY_DISK = ../../../empty_disk
ZX02 = ~/research/6502_compression/zx02.git/build/zx02 -f
all: wipes.dsk
wipes.dsk: HELLO \
bubbles/WIPE_BUBBLES \
star/WIPE_STAR \
star/WIPE_STAR_BLOOM \
star/WIPE_STAR_IN \
star/WIPE_STAR_RIPPLE \
cascade/WIPE_CASCADE \
center/WIPE_CENTER \
diamond/WIPE_DIAMOND \
diamond_stripes/WIPE_DIAMOND_STRIPE \
crystal/WIPE_CRYSTAL \
fizzle/WIPE_FIZZLE \
lr/WIPE_LR \
thin_bar/WIPE_THIN_BAR
cp $(EMPTY_DISK)/empty.dsk wipes.dsk
$(DOS33) -y wipes.dsk SAVE A HELLO
$(DOS33) -y wipes.dsk BSAVE -a 0x5700 bubbles/WIPE_BUBBLES
$(DOS33) -y wipes.dsk BSAVE -a 0x1000 star/WIPE_STAR
$(DOS33) -y wipes.dsk BSAVE -a 0x1000 star/WIPE_STAR_BLOOM
$(DOS33) -y wipes.dsk BSAVE -a 0x1000 star/WIPE_STAR_IN
$(DOS33) -y wipes.dsk BSAVE -a 0x1000 star/WIPE_STAR_RIPPLE
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 diamond/WIPE_DIAMOND
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 diamond_stripes/WIPE_DIAMOND_STRIPE
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 crystal/WIPE_CRYSTAL
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 fizzle/WIPE_FIZZLE
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 lr/WIPE_LR
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 cascade/WIPE_CASCADE
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 thin_bar/WIPE_THIN_BAR
$(DOS33) -y wipes.dsk BSAVE -a 0x6000 center/WIPE_CENTER
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
bubbles/WIPE_BUBBLES:
cd bubbles && make
cascade/WIPE_CASCADE:
cd cascade && make
center/WIPE_CENTER:
cd center && make
crystal/WIPE_CRYSTAL:
cd crystal && make
diamond/WIPE_DIAMOND:
cd diamond && make
diamond_stripes/WIPE_DIAMOND_STRIPE:
cd diamond_stripes && make
fizzle/WIPE_FIZZLE:
cd fizzle && make
lr/WIPE_LR:
cd lr && make
star/WIPE_STAR:
cd star && make
star/WIPE_STAR_IN:
cd star && make
star/WIPE_STAR_RIPPLE:
cd star && make
star/WIPE_STAR_BLOOM:
cd star && make
thin_bar/WIPE_THIN_BAR:
cd thin_bar && make
###
clean:
rm -f *~ *.o *.lst *.zx02 HELLO
cd bubbles && make clean
cd cascade && make clean
cd center && make clean
cd crystal && make clean
cd diamond && make clean
cd diamond_stripes && make clean
cd fizzle && make clean
cd lr && make clean
cd star && make clean
cd thin_bar && make clean