dos33fsprogs/mode7/Makefile

82 lines
2.2 KiB
Makefile
Raw Normal View History

include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2GR = ../gr-utils/png2gr
PNG2RLE = ../gr-utils/png2rle
2017-12-14 05:59:34 +00:00
all: mode7.dsk scroller
$(DOS33):
cd ../dos33fs-utils && make
2017-12-14 05:59:34 +00:00
mode7.dsk: $(DOS33) MODE7_ISLAND MODE7_CHECKERBOARD MODE7_RAINBOW \
SCROLL_DEMO
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_ISLAND
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_CHECKERBOARD
2017-12-14 05:59:34 +00:00
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 MODE7_RAINBOW
$(DOS33) -y mode7.dsk BSAVE -a 0x1000 SCROLL_DEMO
###
MODE7_ISLAND: mode7_island.o
ld65 -o MODE7_ISLAND mode7_island.o -C ./apple2_1000.inc
mode7_island.o: mode7.s island_lookup.s island_map.inc \
2017-12-16 19:17:33 +00:00
zp.inc sprites.inc \
../asm_routines/multiply_fast.s \
2017-12-16 19:05:57 +00:00
../asm_routines/hlin_clearscreen.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/keypress.s \
../asm_routines/gr_putsprite.s \
../asm_routines/text_print.s
ca65 -o mode7_island.o mode7.s -D ISLAND_MAP=1 -l mode7.lst
MODE7_CHECKERBOARD: mode7_checkerboard.o
ld65 -o MODE7_CHECKERBOARD mode7_checkerboard.o -C ./apple2_1000.inc
mode7_checkerboard.o: mode7.s checkerboard_lookup.s \
2017-12-16 19:17:33 +00:00
zp.inc sprites.inc \
../asm_routines/multiply_fast.s \
2017-12-16 19:05:57 +00:00
../asm_routines/hlin_clearscreen.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/keypress.s \
../asm_routines/gr_putsprite.s \
../asm_routines/text_print.s
ca65 -o mode7_checkerboard.o mode7.s -D CHECKERBOARD_MAP=1 -l mode7.lst
2017-12-14 05:59:34 +00:00
MODE7_RAINBOW: mode7_rainbow.o
ld65 -o MODE7_RAINBOW mode7_rainbow.o -C ./apple2_1000.inc
mode7_rainbow.o: mode7.s rainbow_lookup.s \
2017-12-16 19:17:33 +00:00
zp.inc sprites.inc \
../asm_routines/multiply_fast.s \
2017-12-16 19:05:57 +00:00
../asm_routines/hlin_clearscreen.s \
../asm_routines/pageflip.s \
../asm_routines/gr_setpage.s \
../asm_routines/keypress.s \
../asm_routines/gr_putsprite.s \
../asm_routines/text_print.s
2017-12-14 05:59:34 +00:00
ca65 -o mode7_rainbow.o mode7.s -D RAINBOW_MAP=1 -l mode7.lst
SCROLL_DEMO: scroll_demo.o
ld65 -o SCROLL_DEMO scroll_demo.o -C ./apple2_1000.inc
scroll_demo.o: scroll_demo.s \
deater_scroll.inc
ca65 -o scroll_demo.o scroll_demo.s -l scroll_demo.lst
scroller: scroller.o
$(CC) $(LFLAGS) -o scroller scroller.o
scroller.o: scroller.c
$(CC) $(CFLAGS) -c scroller.c
clean:
2017-12-14 05:59:34 +00:00
rm -f *~ *.o scroller \
MODE7 MODE7_ISLAND MODE7_CHECKERBOARD MODE7_RAINBOW \
SCROLL_DEMO *.lst