dos33fsprogs/music/ksp_theme/Makefile

90 lines
2.8 KiB
Makefile
Raw Normal View History

include ../../Makefile.inc
2017-06-21 01:48:29 +00:00
DOS33 = ../../utils/dos33fs-utils/dos33
PNG2GR = ../../utils/gr-utils/png2gr
2017-06-21 01:48:29 +00:00
2018-02-17 02:01:06 +00:00
all: dump_ed mock_test.dsk lzss_compress
2017-06-21 01:48:29 +00:00
mock_test.dsk: KSP_THEME_UNCOMPRESSED KSP_THEME_COMPRESSED \
KSP_THEME_INTERRUPT INTERRUPT_TEST KSP_THEME_6CH
2018-02-04 04:54:56 +00:00
$(DOS33) -y mock_test.dsk BSAVE -a 0x1000 KSP_THEME_UNCOMPRESSED
$(DOS33) -y mock_test.dsk BSAVE -a 0x1000 KSP_THEME_COMPRESSED
$(DOS33) -y mock_test.dsk BSAVE -a 0x4000 KSP_THEME_INTERRUPT
$(DOS33) -y mock_test.dsk BSAVE -a 0x4000 KSP_THEME_6CH
2018-02-06 06:30:20 +00:00
$(DOS33) -y mock_test.dsk BSAVE -a 0x1000 INTERRUPT_TEST
KSP_THEME_COMPRESSED: ksp_theme_compressed.o
ld65 -o KSP_THEME_COMPRESSED ksp_theme_compressed.o -C ../../linker_scripts/apple2_1000.inc
ksp_theme_compressed.o: ksp_theme_compressed.s \
../../asm_routines/mockingboard.s \
ksp_theme_compressed.inc
ca65 -o ksp_theme_compressed.o ksp_theme_compressed.s -l ksp_theme_compressed.lst
2017-06-21 01:48:29 +00:00
KSP_THEME_6CH: ksp_theme_6ch.o
ld65 -o KSP_THEME_6CH ksp_theme_6ch.o -C ../../linker_scripts/apple2_4000.inc
ksp_theme_6ch.o: ksp_theme_6ch.s \
../../asm_routines/mockingboard.s \
../../asm_routines/lzss_decompress.s \
ksp_theme_compressed.inc ksp_theme2_compressed.inc \
ksp_title.inc
ca65 -o ksp_theme_6ch.o ksp_theme_6ch.s -l ksp_theme_6ch.lst
KSP_THEME_INTERRUPT: ksp_theme_interrupt.o
ld65 -o KSP_THEME_INTERRUPT ksp_theme_interrupt.o -C ../../linker_scripts/apple2_4000.inc
ksp_theme_interrupt.o: ksp_theme_interrupt.s \
../../asm_routines/mockingboard.s \
../../asm_routines/lzss_decompress.s \
ksp_title.inc
ca65 -o ksp_theme_interrupt.o ksp_theme_interrupt.s -l ksp_theme_interrupt.lst
2018-02-04 04:54:56 +00:00
KSP_THEME_UNCOMPRESSED: ksp_theme_uncompressed.o
ld65 -o KSP_THEME_UNCOMPRESSED ksp_theme_uncompressed.o -C ../../linker_scripts/apple2_1000.inc
2017-06-21 01:48:29 +00:00
ksp_theme_uncompressed.o: ksp_theme_uncompressed.s \
../../asm_routines/mockingboard.s
2018-02-04 04:54:56 +00:00
ca65 -o ksp_theme_uncompressed.o ksp_theme_uncompressed.s -l ksp_theme_uncompressed.lst
2017-06-21 01:48:29 +00:00
2018-02-06 06:30:20 +00:00
INTERRUPT_TEST: interrupt_test.o
ld65 -o INTERRUPT_TEST interrupt_test.o -C ../../linker_scripts/apple2_1000.inc
2018-02-06 06:30:20 +00:00
interrupt_test.o: interrupt_test.s \
../../asm_routines/mockingboard.s
2018-02-06 06:30:20 +00:00
ca65 -o interrupt_test.o interrupt_test.s -l interrupt_test.lst
2017-06-21 01:48:29 +00:00
ED: duet.o
ld65 -o ED duet.o -C ./apple2_900.inc
duet.o: duet.s
ca65 -o duet.o duet.s -l duet.lst
notes.o: notes.c
$(CC) $(CFLAGS) -c notes.c
dump_ed.o: dump_ed.c notes.h
$(CC) $(CFLAGS) -c dump_ed.c
dump_ed: dump_ed.o notes.o
$(CC) $(LFLAGS) -o dump_ed dump_ed.o notes.o
lzss_compress.o: lzss_compress.c
$(CC) $(CFLAGS) -c lzss_compress.c
lzss_compress: lzss_compress.o
$(CC) $(LFLAGS) -o lzss_compress lzss_compress.o
2017-06-21 01:48:29 +00:00
clean:
2018-02-06 06:30:20 +00:00
rm -f *~ TITLE.GR *.o *.lst ED KSP_THEME_UNCOMPRESSED \
KSP_THEME_COMPRESSED KSP_THEME_INTERRUPT \
KSP_THEME_6CH INTERRUPT_TEST dump_ed \
CHIPTUNE_PLAYER lzss_compress
2017-06-21 01:48:29 +00:00