dos33fsprogs/mockingboard/Makefile

41 lines
719 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
all: dump_ed
mock.dsk:
$(DOS33) -y tfv.dsk BSAVE -a 0x1000 TFV
$(DOS33) -y tfv.dsk BSAVE -a 0x400 TITLE.GR
$(DOS33) -y tfv.dsk BSAVE -a 0x900 ED
TFV: tfv.o
ld65 -o TFV tfv.o -C ./apple2_1000.inc
tfv.o: tfv.s title.inc
ca65 -o tfv.o tfv.s -l tfv.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
TITLE.GR: title.png
$(PNG2GR) title.png TITLE.GR
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