dos33fsprogs/music/chiptune_debug/Makefile

97 lines
3.1 KiB
Makefile
Raw Normal View History

include ../../Makefile.inc
DOS33 = ../../utils/dos33fs-utils/dos33
PNG2GR = ../../utils/gr-utils/png2gr
all: chiptune_debug.dsk
2018-06-12 23:53:07 +00:00
chiptune_debug.dsk: CHIPTUNE_IRQ CHIPTUNE_NOIRQ CHIPTUNE_25HZ \
2018-06-28 17:44:39 +00:00
CHIPTUNE_BARE CHIPTUNE_MIN CHIPTUNE_TINY CHIPTUNE_READBACK \
CHIPTUNE_RIGHT CHIPTUNE_SMALLEST
cp chiptune_empty.dsk chiptune_debug.dsk
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_IRQ
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_NOIRQ
2018-04-20 20:16:23 +00:00
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_25HZ
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_BARE
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_MIN
2018-06-12 23:53:07 +00:00
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_TINY
2018-06-14 03:05:49 +00:00
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_READBACK
2018-06-28 17:44:39 +00:00
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_RIGHT
$(DOS33) -y chiptune_debug.dsk BSAVE -a 0x0C00 CHIPTUNE_SMALLEST
CHIPTUNE_IRQ: chiptune_irq.o
ld65 -o CHIPTUNE_IRQ chiptune_irq.o -C ../../linker_scripts/apple2_c00.inc
chiptune_irq.o: chiptune_player.s \
mockingboard_a.s \
interrupt_handler.s \
zp.inc
ca65 -o chiptune_irq.o chiptune_player.s -l chiptune_irq.lst
CHIPTUNE_NOIRQ: chiptune_noirq.o
ld65 -o CHIPTUNE_NOIRQ chiptune_noirq.o -C ../../linker_scripts/apple2_c00.inc
chiptune_noirq.o: chiptune_player.s \
mockingboard_a.s \
interrupt_handler.s \
zp.inc
ca65 -D NOIRQ=1 -o chiptune_noirq.o chiptune_player.s -l chiptune_noirq.lst
2018-04-20 20:16:23 +00:00
CHIPTUNE_25HZ: chiptune_25Hz.o
ld65 -o CHIPTUNE_25HZ chiptune_25Hz.o -C ../../linker_scripts/apple2_c00.inc
2018-04-20 20:16:23 +00:00
chiptune_25Hz.o: chiptune_player.s \
mockingboard_a.s \
interrupt_handler.s \
zp.inc
ca65 -D F25HZ=1 -o chiptune_25Hz.o chiptune_player.s -l chiptune_25Hz.lst
CHIPTUNE_BARE: chiptune_bare.o
ld65 -o CHIPTUNE_BARE chiptune_bare.o -C ../../linker_scripts/apple2_c00.inc
chiptune_bare.o: chiptune_bare.s
ca65 -o chiptune_bare.o chiptune_bare.s -l chiptune_bare.lst
CHIPTUNE_MIN: chiptune_min.o
ld65 -o CHIPTUNE_MIN chiptune_min.o -C ../../linker_scripts/apple2_c00.inc
chiptune_min.o: chiptune_min.s
ca65 -o chiptune_min.o chiptune_min.s -l chiptune_min.lst
2018-06-12 23:53:07 +00:00
CHIPTUNE_TINY: chiptune_tiny.o
ld65 -o CHIPTUNE_TINY chiptune_tiny.o -C ../../linker_scripts/apple2_c00.inc
2018-06-12 23:53:07 +00:00
chiptune_tiny.o: chiptune_tiny.s
ca65 -o chiptune_tiny.o chiptune_tiny.s -l chiptune_tiny.lst
2018-06-28 17:44:39 +00:00
CHIPTUNE_RIGHT: chiptune_right.o
ld65 -o CHIPTUNE_RIGHT chiptune_right.o -C ../../linker_scripts/apple2_c00.inc
2018-06-28 17:44:39 +00:00
chiptune_right.o: chiptune_right.s
ca65 -o chiptune_right.o chiptune_right.s -l chiptune_right.lst
CHIPTUNE_SMALLEST: chiptune_smallest.o
ld65 -o CHIPTUNE_SMALLEST chiptune_smallest.o -C ../../linker_scripts/apple2_c00.inc
2018-06-28 17:44:39 +00:00
chiptune_smallest.o: chiptune_smallest.s
ca65 -o chiptune_smallest.o chiptune_smallest.s -l chiptune_smallest.lst
2018-06-14 03:05:49 +00:00
CHIPTUNE_READBACK: chiptune_readback.o
ld65 -o CHIPTUNE_READBACK chiptune_readback.o -C ../../linker_scripts/apple2_c00.inc
2018-06-14 03:05:49 +00:00
chiptune_readback.o: chiptune_readback.s
ca65 -o chiptune_readback.o chiptune_readback.s -l chiptune_readback.lst
clean:
rm -f *~ TITLE.GR *.o *.lst \
2018-06-14 03:05:49 +00:00
CHIPTUNE_PLAYER CHIPTUNE_IRQ CHIPTUNE_NOIRQ CHIPTUNE_25HZ \
2018-06-28 17:44:39 +00:00
CHIPTUNE_MIN CHIPTUNE_TINY CHIPTUNE_READBACK CHIPTUNE_RIGHT \
CHIPTUNE_SMALLEST