dos33fsprogs/space_bars/Makefile

52 lines
1.1 KiB
Makefile
Raw Normal View History

2018-08-01 01:04:32 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG_TO_40x48D = ../gr-utils/png_to_40x48d
B2D = ../bmp2dhr/b2d
2018-08-01 01:04:32 +00:00
all: space_bars.dsk
2019-06-13 22:13:55 +00:00
space_bars.dsk: SPACE_BARS HELLO
$(DOS33) -y space_bars.dsk SAVE A HELLO
$(DOS33) -y space_bars.dsk BSAVE -a 0x4000 SPACE_BARS
2018-08-01 01:04:32 +00:00
####
SPACE_BARS: space_bars.o
ld65 -o SPACE_BARS space_bars.o -C ../linker_scripts/apple2_4000.inc
2018-08-01 01:04:32 +00:00
2019-06-14 01:32:14 +00:00
space_bars.o: space_bars.s instructions.s \
level3_earth.s level6_saturn.s \
2018-08-02 04:13:40 +00:00
game_over.s gr_copy.s text_print.s title.s \
2018-10-07 21:43:13 +00:00
spacebars_title.inc screen_split.s \
2019-06-14 01:32:14 +00:00
sprites_table.s sprites_screen.s \
2019-06-14 01:12:02 +00:00
vapor_lock.s delay_a.s lz4_decode.s SB_BACKGROUNDC.BIN.lz4 \
keypress.s zp.inc hardware.inc
2018-08-01 01:04:32 +00:00
ca65 -o space_bars.o space_bars.s -l space_bars.lst
####
2019-06-13 22:13:55 +00:00
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
####
2018-08-01 01:04:32 +00:00
spacebars_title.inc: ./images/spacebars_title_scaled.png
$(PNG_TO_40x48D) asm ./images/spacebars_title_scaled.png spacebars_title > spacebars_title.inc
####
SB_BACKGROUNDC.BIN.lz4: SB_BACKGROUNDC.BIN
lz4 -f -16 SB_BACKGROUNDC.BIN
SB_BACKGROUNDC.BIN: sb_background.bmp
$(B2D) sb_background.bmp HGR -d
2018-08-01 01:04:32 +00:00
###
clean:
rm -f *~ *.o *.lst SPACE_BARS
2018-08-01 01:04:32 +00:00