dos33fsprogs/mockingboard/Makefile

37 lines
866 B
Makefile
Raw Normal View History

2017-06-21 01:48:29 +00:00
include ../Makefile.inc
DOS33 = ../dos33fs-utils/dos33
PNG2GR = ../gr-utils/png2gr
2018-02-03 18:43:24 +00:00
all: dump_ed mock.dsk
2017-06-21 01:48:29 +00:00
2018-02-04 04:54:56 +00:00
mock.dsk: KSP_THEME_UNCOMPRESSED
$(DOS33) -y mock_test.dsk BSAVE -a 0x1000 KSP_THEME_UNCOMPRESSED
2017-06-21 01:48:29 +00:00
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 ./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
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
clean:
2018-02-04 04:54:56 +00:00
rm -f *~ TITLE.GR *.o *.lst ED KSP_THEME_UNCOMPRESSED dump_ed
2017-06-21 01:48:29 +00:00