dos33fsprogs/demosplash/Makefile

110 lines
2.5 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
demosplash.dsk: HELLO LOADER 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
$(DOS33) -y demosplash.dsk BSAVE -a 0x1700 DEMOSPLASH
# $(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 \
# appleII_intro.s vapor_lock.s delay_a.s \
# pt3_lib_init.s pt3_lib_core.s pt3_lib_mockingboard.s \
# interrupt_handler.s \
# starbase.s starbase_action.s \
# graphics/starbase/starbase.inc \
# graphics/sprites/alien.inc graphics/sprites/astronaut.inc \
# dya_space_demo.pt3 appleII_40_96.inc \
# book.s book_40_48d.inc \
# missing.s \
# escape.s
# ca65 -o demosplash.o demosplash.s -l demosplash.lst
2019-08-31 03:45:50 +00:00
#####
DEMOSPLASH: demosplash.o
ld65 -o DEMOSPLASH demosplash.o -C ../linker_scripts/apple2_1700.inc
2019-10-12 14:47:38 +00:00
demosplash.o: demosplash.s \
2019-10-12 14:47:38 +00:00
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 \
starbase.s \
starbase_action.s \
2019-11-03 16:23:53 +00:00
missing.s k_40_48d.inc create_update_type1.s \
graphics/starbase/starbase.inc \
graphics/sprites/alien.inc graphics/sprites/astronaut.inc \
2019-11-03 16:23:53 +00:00
escape.s create_update_type2.s offsets_table2.s \
2019-11-02 19:47:58 +00:00
book.s book_40_48d.inc \
credits.s credits_bg.inc offsets_table.s \
2019-10-12 14:47:38 +00:00
dya_space_demo2.pt3
ca65 -o demosplash.o demosplash.s -l demosplash.lst
2019-10-12 14:47:38 +00:00
#####
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
#####
2019-11-02 19:47:58 +00:00
credits_bg.inc: credits_bg.png
$(PNG_TO_40x48D) asm credits_bg.png credits > credits_bg.inc
2019-10-07 04:12:36 +00:00
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-11-01 03:55:29 +00:00
k_40_48d.inc: k_40_48d.png
$(PNG_TO_40x48D) asm k_40_48d.png k > k_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