dos33fsprogs/chiptune_player/Makefile

26 lines
629 B
Makefile
Raw Normal View History

2018-02-17 02:01:06 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2GR = ../gr-utils/png2gr
all: mock_player.dsk
2018-02-17 05:26:58 +00:00
mock_player.dsk: CHIPTUNE_PLAYER OUT.0
2018-02-17 02:01:06 +00:00
$(DOS33) -y mock_player.dsk BSAVE -a 0x1000 CHIPTUNE_PLAYER
2018-02-17 05:26:58 +00:00
$(DOS33) -y mock_player.dsk BSAVE -a 0x4000 OUT.0
2018-02-17 02:01:06 +00:00
CHIPTUNE_PLAYER: chiptune_player.o
ld65 -o CHIPTUNE_PLAYER chiptune_player.o -C ../linker_scripts/apple2_1000.inc
chiptune_player.o: chiptune_player.s \
../asm_routines/mockingboard.s \
../asm_routines/lzss_decompress.s \
chip_title.inc
ca65 -o chiptune_player.o chiptune_player.s -l chiptune_player.lst
clean:
rm -f *~ TITLE.GR *.o *.lst \
CHIPTUNE_PLAYER