dos33fsprogs/graphics/gr/boxes/Makefile

70 lines
1.3 KiB
Makefile
Raw Permalink Normal View History

2021-01-21 06:32:06 +00:00
include ../../../Makefile.inc
DOS33 = ../../../utils/dos33fs-utils/dos33
TOKENIZE = ../../../utils/asoft_basic-utils/tokenize_asoft
LINKERSCRIPTS = ../../../linker_scripts
2021-03-01 21:25:28 +00:00
EMPTYDISK = ../../../empty_disk/empty.dsk
2021-01-21 06:32:06 +00:00
all: boxes.dsk make_boxes
2021-05-10 05:49:01 +00:00
boxes.dsk: HELLO A2_BOXES BOXES RR NYAN
2021-03-01 21:25:28 +00:00
cp $(EMPTYDISK) boxes.dsk
2021-01-21 06:32:06 +00:00
$(DOS33) -y boxes.dsk SAVE A HELLO
$(DOS33) -y boxes.dsk BSAVE -a 0x300 BOXES
2021-03-01 21:25:28 +00:00
$(DOS33) -y boxes.dsk BSAVE -a 0xC00 A2_BOXES
2021-03-05 05:25:51 +00:00
$(DOS33) -y boxes.dsk BSAVE -a 0xC00 RR
2021-05-10 05:49:01 +00:00
$(DOS33) -y boxes.dsk BSAVE -a 0xC00 NYAN
2021-01-21 06:32:06 +00:00
###
HELLO: hello.bas
$(TOKENIZE) < hello.bas > HELLO
###
2021-03-01 21:25:28 +00:00
A2_BOXES: a2_boxes.o
ld65 -o A2_BOXES a2_boxes.o -C $(LINKERSCRIPTS)/apple2_c00.inc
a2_boxes.o: a2_boxes.s
ca65 -o a2_boxes.o a2_boxes.s -l a2_boxes.lst
###
2021-03-05 05:25:51 +00:00
RR: rr.o
ld65 -o RR rr.o -C $(LINKERSCRIPTS)/apple2_c00.inc
rr.o: rr.s
ca65 -o rr.o rr.s -l rr.lst
2021-05-10 05:49:01 +00:00
###
NYAN: nyan.o
ld65 -o NYAN nyan.o -C $(LINKERSCRIPTS)/apple2_c00.inc
nyan.o: nyan.s
ca65 -o nyan.o nyan.s -l nyan.lst
2021-03-05 05:25:51 +00:00
###
2021-01-21 06:32:06 +00:00
BOXES: boxes.o
ld65 -o BOXES boxes.o -C $(LINKERSCRIPTS)/apple2_300.inc
boxes.o: boxes.s
ca65 -o boxes.o boxes.s -l boxes.lst
2021-03-01 21:25:28 +00:00
2021-01-21 06:32:06 +00:00
###
make_boxes: make_boxes.o
$(CC) -o make_boxes make_boxes.o $(LFLAGS)
make_boxes.o: make_boxes.c
$(CC) $(CFLAGS) -c make_boxes.c
###
clean:
2021-03-05 05:25:51 +00:00
rm -f *~ *.o *.lst HELLO A2_BOXES BOXES RR make_boxes