mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-11-19 12:32:35 +00:00
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
include ../Makefile.inc
|
|
|
|
DOS33 = ../dos33fs-utils/dos33
|
|
PNG2GR = ../gr-utils/png2gr
|
|
|
|
all: dump_ed mock.dsk
|
|
|
|
mock.dsk: KSP_THEME_UNCOMPRESSED KSP_THEME_COMPRESSED
|
|
$(DOS33) -y mock_test.dsk BSAVE -a 0x1000 KSP_THEME_UNCOMPRESSED
|
|
$(DOS33) -y mock_test.dsk BSAVE -a 0x1000 KSP_THEME_COMPRESSED
|
|
|
|
KSP_THEME_COMPRESSED: ksp_theme_compressed.o
|
|
ld65 -o KSP_THEME_COMPRESSED ksp_theme_compressed.o -C ./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
|
|
|
|
KSP_THEME_UNCOMPRESSED: ksp_theme_uncompressed.o
|
|
ld65 -o KSP_THEME_UNCOMPRESSED ksp_theme_uncompressed.o -C ./apple2_1000.inc
|
|
|
|
ksp_theme_uncompressed.o: ksp_theme_uncompressed.s \
|
|
../asm_routines/mockingboard.s
|
|
ca65 -o ksp_theme_uncompressed.o ksp_theme_uncompressed.s -l ksp_theme_uncompressed.lst
|
|
|
|
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:
|
|
rm -f *~ TITLE.GR *.o *.lst ED KSP_THEME_UNCOMPRESSED dump_ed
|
|
|