mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-10-30 02:26:58 +00:00
70 lines
1.5 KiB
Makefile
70 lines
1.5 KiB
Makefile
include ../Makefile.inc
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
PNG_TO_40x96 = ../gr-utils/png_to_40x96
|
|
PNG_TO_40x48D = ../gr-utils/png_to_40x48d
|
|
|
|
|
|
all: interlace.dsk
|
|
|
|
interlace.dsk: INTERLACE RASTERBARS SPRITES HELLO
|
|
$(DOS33) -y interlace.dsk SAVE A HELLO
|
|
$(DOS33) -y interlace.dsk BSAVE -a 0x1000 INTERLACE
|
|
$(DOS33) -y interlace.dsk BSAVE -a 0x1000 RASTERBARS
|
|
$(DOS33) -y interlace.dsk BSAVE -a 0x1000 SPRITES
|
|
|
|
####
|
|
|
|
HELLO: hello.bas
|
|
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
|
|
|
|
|
|
####
|
|
|
|
INTERLACE: interlace.o
|
|
ld65 -o INTERLACE interlace.o -C ../linker_scripts/apple2_1000.inc
|
|
|
|
interlace.o: interlace.s gr_copy.s \
|
|
k_40_48d.inc
|
|
ca65 -o interlace.o interlace.s -l interlace.lst
|
|
|
|
####
|
|
|
|
RASTERBARS: rasterbars.o
|
|
ld65 -o RASTERBARS rasterbars.o -C ../linker_scripts/apple2_1000.inc
|
|
|
|
rasterbars.o: rasterbars.s gr_copy.s \
|
|
rasterbars_screen.s rasterbars_table.s movement_table.s rb_bg.inc
|
|
ca65 -o rasterbars.o rasterbars.s -l rasterbars.lst
|
|
|
|
####
|
|
|
|
SPRITES: sprites.o
|
|
ld65 -o SPRITES sprites.o -C ../linker_scripts/apple2_1000.inc
|
|
|
|
sprites.o: sprites.s gr_copy.s \
|
|
sprites_screen.s sprites_table.s movement_table.s earth.inc asteroid.inc
|
|
ca65 -o sprites.o sprites.s -l sprites.lst
|
|
|
|
|
|
|
|
####
|
|
|
|
k_40_48d.inc: k_40_48d.png
|
|
$(PNG_TO_40x48D) asm k_40_48d.png k > k_40_48d.inc
|
|
|
|
rb_bg.inc: rb_bg.png
|
|
$(PNG_TO_40x48D) asm rb_bg.png rb_bg > rb_bg.inc
|
|
|
|
earth.inc: earth.png
|
|
$(PNG_TO_40x48D) asm earth.png earth > earth.inc
|
|
|
|
###
|
|
|
|
|
|
install:
|
|
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst *.inc INTERLACE RASTERBARS SPRITES HELLO
|