dos33fsprogs/ootw/Makefile

44 lines
832 B
Makefile
Raw Normal View History

2019-01-13 06:10:44 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2RLE = ../gr-utils/png2rle
all: ootw.dsk
ootw.dsk: HELLO OOTW
$(DOS33) -y ootw.dsk SAVE A HELLO
$(DOS33) -y ootw.dsk BSAVE -a 0x1000 OOTW
####
OOTW: ootw.o
ld65 -o OOTW ootw.o -C ../linker_scripts/apple2_1000.inc
2019-01-14 17:44:26 +00:00
ootw.o: ootw.s \
2019-01-14 04:37:49 +00:00
gr_copy.s gr_fast_clear.s gr_pageflip.s gr_unrle.s gr_putsprite.s \
2019-01-17 21:58:19 +00:00
ootw_pool.s ootw_cavern.s physicist.s \
2019-01-17 20:56:43 +00:00
ootw_pool.inc ootw_cavern.inc ootw_sprites.inc
2019-01-13 06:10:44 +00:00
ca65 -o ootw.o ootw.s -l ootw.lst
####
HELLO: hello.bas
../asoft_basic-utils/tokenize_asoft < hello.bas > HELLO
#####
2019-01-17 20:56:43 +00:00
ootw_pool.inc: $(PNG2RLE) another.png
$(PNG2RLE) asm another.png pool_rle > ootw_pool.inc
ootw_cavern.inc: $(PNG2RLE) another_cave.png
$(PNG2RLE) asm another_cave.png cavern_rle > ootw_cavern.inc
2019-01-13 06:10:44 +00:00
#####
clean:
rm -f *~ *.o *.lst HELLO OOTW