dos33fsprogs/graphics/gr/sprite/Makefile
2022-05-31 13:47:25 -04:00

57 lines
1.1 KiB
Makefile

include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
PNG2GR = ../../../utils/gr-utils/png2gr
PNG2RLE = ../../../utils/gr-utils/png2rle
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../../../linker_scripts
EMPTY_DISK = ../../../empty_disk
all: star.dsk
$(DOS33):
cd ../../../utils/dos33fs-utils && make
star.dsk: $(DOS33) HELLO STAR STARS STARS_BOT
cp $(EMPTY_DISK)/empty.dsk star.dsk
$(DOS33) -y star.dsk SAVE A HELLO
$(DOS33) -y star.dsk BSAVE -a 0xc00 STAR
$(DOS33) -y star.dsk BSAVE -a 0xc00 STARS
$(DOS33) -y star.dsk BSAVE -a 0xc00 STARS_BOT
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
STAR: star.o
ld65 -o STAR star.o -C $(LINKERSCRIPTS)/apple2_c00.inc
star.o: star.s
ca65 -o star.o star.s -l star.lst
###
STARS: stars.o
ld65 -o STARS stars.o -C $(LINKERSCRIPTS)/apple2_c00.inc
stars.o: stars.s
ca65 -o stars.o stars.s -l stars.lst
###
STARS_BOT: stars_bot.o
ld65 -o STARS_BOT stars_bot.o -C $(LINKERSCRIPTS)/apple2_c00.inc
stars_bot.o: stars_bot.s
ca65 -o stars_bot.o stars_bot.s -l stars_bot.lst
###
clean:
rm -f *~ *.o *.lst HELLO STAR STARS STARS_BOT