dos33fsprogs/graphics/gr/sprite/Makefile

56 lines
1.1 KiB
Makefile
Raw Normal View History

2022-05-31 14:45:24 +00:00
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
2022-05-31 16:10:10 +00:00
star.dsk: $(DOS33) HELLO STAR STARS
2022-05-31 14:45:24 +00:00
cp $(EMPTY_DISK)/empty.dsk star.dsk
$(DOS33) -y star.dsk SAVE A HELLO
$(DOS33) -y star.dsk BSAVE -a 0xc00 STAR
2022-05-31 16:10:10 +00:00
$(DOS33) -y star.dsk BSAVE -a 0xc00 STARS
2022-05-31 14:45:24 +00:00
###
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
###
2022-05-31 16:10:10 +00:00
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
###
2022-05-31 14:45:24 +00:00
STAR_BOT: star_bot.o
ld65 -o STAR_BOT star_bot.o -C $(LINKERSCRIPTS)/apple2_36b.inc
star_bot.o: star_bot.s
ca65 -o star_bot.o star_bot.s -l star_bot.lst
###
clean:
rm -f *~ *.o *.lst HELLO STAR STAR_BOT