dos33fsprogs/demosplash/Makefile

97 lines
2.1 KiB
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
2019-09-04 19:46:10 +00:00
PNG_TO_40x96 = ../gr-utils/png_to_40x96
2019-10-07 04:12:36 +00:00
PNG_TO_40x48D = ../gr-utils/png_to_40x48d
B2D = ../bmp2dhr/b2d
2019-08-31 03:45:50 +00:00
all: demosplash.dsk
2019-10-12 22:11:32 +00:00
demosplash.dsk: HELLO LOADER BOOK_HGR2C.BIN MUSICTEST # DEMOSPLASH
2019-08-31 03:45:50 +00:00
cp empty.dsk demosplash.dsk
$(DOS33) -y demosplash.dsk SAVE A HELLO
$(DOS33) -y demosplash.dsk BSAVE -a 0x1400 LOADER
2019-10-12 22:11:32 +00:00
# $(DOS33) -y demosplash.dsk BSAVE -a 0x1700 DEMOSPLASH
2019-10-12 14:47:38 +00:00
$(DOS33) -y demosplash.dsk BSAVE -a 0x1700 MUSICTEST
2019-08-31 03:45:50 +00:00
####
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 \
2019-09-04 19:46:10 +00:00
appleII_intro.s vapor_lock.s delay_a.s \
2019-10-02 04:25:04 +00:00
pt3_lib_init.s pt3_lib_core.s pt3_lib_mockingboard.s \
interrupt_handler.s \
starbase.s starbase_action.s \
2019-10-03 04:49:35 +00:00
graphics/starbase/starbase.inc \
graphics/sprites/alien.inc graphics/sprites/astronaut.inc \
2019-10-07 04:12:36 +00:00
dya_space_demo.pt3 appleII_40_96.inc \
2019-10-08 12:27:00 +00:00
book.s book_40_48d.inc \
2019-10-09 03:04:26 +00:00
missing.s \
escape.s
2019-08-31 03:45:50 +00:00
ca65 -o demosplash.o demosplash.s -l demosplash.lst
#####
2019-10-12 14:47:38 +00:00
MUSICTEST: musictest.o
ld65 -o MUSICTEST musictest.o -C ../linker_scripts/apple2_1700.inc
musictest.o: musictest.s \
zp.inc hardware.inc \
2019-10-12 22:11:32 +00:00
appleII_intro.s font.s \
2019-10-12 14:47:38 +00:00
pt3_lib_init.s pt3_lib_core.s pt3_lib_mockingboard.s \
2019-10-15 00:43:40 +00:00
pt3_lib_play_frame.s pt3_lib_write_frame.s \
2019-10-12 14:47:38 +00:00
interrupt_handler.s \
2019-10-15 04:27:27 +00:00
missing.s missing_screen_update.s \
2019-10-12 14:47:38 +00:00
dya_space_demo2.pt3
ca65 -o musictest.o musictest.s -l musictest.lst
#####
LOADER: loader.o
ld65 -o LOADER loader.o -C ../linker_scripts/apple2_1400.inc
loader.o: loader.s
ca65 -o loader.o loader.s -l loader.lst
#####
2019-09-04 19:46:10 +00:00
appleII_40_96.inc: appleII_40_96.png
$(PNG_TO_40x96) asm appleII_40_96.png appleII > appleII_40_96.inc
2019-10-07 04:12:36 +00:00
#####
#ball.img.lz4: ball.img
# lz4 -f -16 ball.img
#ball.img: BALLC.BIN
# cp BALLC.BIN ball.img
BOOK_HGR2C.BIN: book_hgr2.bmp
$(B2D) book_hgr2.bmp HGR -d
#####
book_40_48d.inc: book_40_48d.png
$(PNG_TO_40x48D) asm book_40_48d.png book > book_40_48d.inc
2019-09-04 19:46:10 +00:00
#####
2019-08-31 03:45:50 +00:00
clean:
rm -f *~ *.o *.lst *.lz4 HELLO \
DEMOSPLASH