dos33fsprogs/graphics/gr/sprite/Makefile

57 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
star.dsk: $(DOS33) HELLO STAR STARS STARS_BOT
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
$(DOS33) -y star.dsk BSAVE -a 0xc00 STARS_BOT
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
###
STARS_BOT: stars_bot.o
ld65 -o STARS_BOT stars_bot.o -C $(LINKERSCRIPTS)/apple2_c00.inc
2022-05-31 14:45:24 +00:00
stars_bot.o: stars_bot.s
ca65 -o stars_bot.o stars_bot.s -l stars_bot.lst
2022-05-31 14:45:24 +00:00
###
clean:
rm -f *~ *.o *.lst HELLO STAR STARS STARS_BOT
2022-05-31 14:45:24 +00:00