dos33fsprogs/megamusic/Makefile

75 lines
1.8 KiB
Makefile
Raw Normal View History

2018-10-27 03:40:54 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
B2D = ../bmp2dhr/b2d
PNG_TO_40x96 = ../gr-utils/png_to_40x96
PNG_TO_RLE = ../gr-utils/png2rle
all: megamusic.dsk
2018-10-28 03:24:35 +00:00
megamusic.dsk: MEGAMUSIC MEGALOAD HALFMUSIC MUSIC.D000X2 MUSIC.D000 MUSIC.1000
$(DOS33) -y megamusic.dsk BSAVE -a 0x1000 MUSIC.1000
2018-10-28 04:04:52 +00:00
$(DOS33) -y megamusic.dsk BSAVE -a 0x4000 MUSIC.D000
2018-10-28 04:18:00 +00:00
$(DOS33) -y megamusic.dsk BSAVE -a 0x4000 MUSIC.D000X2
2018-10-27 03:40:54 +00:00
$(DOS33) -y megamusic.dsk BSAVE -a 0x4000 MEGAMUSIC
2018-10-28 02:28:54 +00:00
$(DOS33) -y megamusic.dsk BSAVE -a 0x4000 HALFMUSIC
2018-10-27 03:40:54 +00:00
$(DOS33) -y megamusic.dsk BSAVE -a 0x800 MEGALOAD
2018-10-28 03:24:35 +00:00
####
MUSIC.1000: music_1000.o
ld65 -o MUSIC.1000 music_1000.o -C ../linker_scripts/apple2_1000.inc
music_1000.o: music_1000.s
2018-10-28 04:04:52 +00:00
ca65 -o music_1000.o music_1000.s -l music_1000.lst
2018-10-28 03:24:35 +00:00
####
MUSIC.D000: music_d000.o
ld65 -o MUSIC.D000 music_d000.o -C ../linker_scripts/apple2_d000.inc
music_d000.o: music_d000.s
ca65 -o music_d000.o music_d000.s
####
MUSIC.D000X2: music_2nd_d000.o
ld65 -o MUSIC.D000X2 music_2nd_d000.o -C ../linker_scripts/apple2_d000.inc
music_2nd_d000.o: music_2nd_d000.s
ca65 -o music_2nd_d000.o music_2nd_d000.s
2018-10-27 03:40:54 +00:00
####
MEGAMUSIC: megamusic.o
ld65 -o MEGAMUSIC megamusic.o -C ../linker_scripts/apple2_4000.inc
2018-10-27 04:04:31 +00:00
megamusic.o: megamusic.s \
play_music.s falling_apple.s
2018-10-27 03:40:54 +00:00
ca65 -o megamusic.o megamusic.s -l megamusic.lst
2018-10-28 02:28:54 +00:00
####
HALFMUSIC: halfmusic.o
ld65 -o HALFMUSIC halfmusic.o -C ../linker_scripts/apple2_4000.inc
halfmusic.o: halfmusic.s \
play_half.s falling_half.s
ca65 -o halfmusic.o halfmusic.s -l halfmusic.lst
2018-10-27 03:40:54 +00:00
####
MEGALOAD: megaload.o
ld65 -o MEGALOAD megaload.o -C ../linker_scripts/apple2_800.inc
megaload.o: megaload.s
ca65 -o megaload.o megaload.s -l megaload.lst
####
clean:
2018-10-28 04:04:52 +00:00
rm -f *~ *.o *.lst MEGAMUSIC MEGALOAD HALFMUSIC \
MUSIC.1000 MUSIC.D000 MUSIC.D000X2