dos33fsprogs/demosplash/Makefile

39 lines
798 B
Makefile
Raw Normal View History

2019-08-31 03:45:50 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2RLE = ../gr-utils/png2rle
PNG2LZ4 = ../gr-utils/png2lz4
all: demosplash.dsk
demosplash.dsk: HELLO DEMOSPLASH
cp empty.dsk demosplash.dsk
$(DOS33) -y demosplash.dsk SAVE A HELLO
# $(DOS33) -y demosplash.dsk BSAVE -a 0x1400 LOADER2 LOADER
$(DOS33) -y demosplash.dsk BSAVE -a 0x1700 DEMOSPLASH
####
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
#####
DEMOSPLASH: demosplash.o
ld65 -o DEMOSPLASH demosplash.o -C ../linker_scripts/apple2_1700.inc
demosplash.o: demosplash.s \
zp.inc hardware.inc \
pt3_lib.s mockingboard_a.s pt3_setup.s interrupt_handler.s \
dya_space_demo.pt3
ca65 -o demosplash.o demosplash.s -l demosplash.lst
#####
clean:
rm -f *~ *.o *.lst *.lz4 HELLO \
DEMOSPLASH